Click here to Skip to main content
15,908,776 members
Home / Discussions / Database
   

Database

 
QuestionHow to send an auto mail Pin
Krishhhhhhhhhhhhhh10-Dec-09 7:00
Krishhhhhhhhhhhhhh10-Dec-09 7:00 
AnswerRe: How to send an auto mail - [ REPOST ] Pin
Richard MacCutchan10-Dec-09 7:22
mveRichard MacCutchan10-Dec-09 7:22 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Krishhhhhhhhhhhhhh10-Dec-09 7:28
Krishhhhhhhhhhhhhh10-Dec-09 7:28 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Richard MacCutchan10-Dec-09 7:34
mveRichard MacCutchan10-Dec-09 7:34 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Krishhhhhhhhhhhhhh10-Dec-09 7:43
Krishhhhhhhhhhhhhh10-Dec-09 7:43 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Richard MacCutchan10-Dec-09 7:53
mveRichard MacCutchan10-Dec-09 7:53 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Krishhhhhhhhhhhhhh10-Dec-09 7:59
Krishhhhhhhhhhhhhh10-Dec-09 7:59 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Richard MacCutchan10-Dec-09 8:06
mveRichard MacCutchan10-Dec-09 8:06 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Krishhhhhhhhhhhhhh10-Dec-09 8:09
Krishhhhhhhhhhhhhh10-Dec-09 8:09 
GeneralRe: How to send an auto mail - [ REPOST ] Pin
Eddy Vluggen10-Dec-09 11:08
professionalEddy Vluggen10-Dec-09 11:08 
QuestionSqlite Database Pin
savitri10-Dec-09 1:04
savitri10-Dec-09 1:04 
AnswerRe: Sqlite Database Pin
Eddy Vluggen10-Dec-09 11:20
professionalEddy Vluggen10-Dec-09 11:20 
Questiondatabase Pin
farokhian9-Dec-09 22:28
farokhian9-Dec-09 22:28 
AnswerRe: database [crosspost] Pin
Eddy Vluggen10-Dec-09 0:36
professionalEddy Vluggen10-Dec-09 0:36 
AnswerRe: database Pin
Niladri_Biswas10-Dec-09 0:39
Niladri_Biswas10-Dec-09 0:39 
Questionproblem while import TXT file Pin
koolprasad20039-Dec-09 19:48
professionalkoolprasad20039-Dec-09 19:48 
AnswerRe: problem while import TXT file Pin
_Damian S_9-Dec-09 20:23
professional_Damian S_9-Dec-09 20:23 
GeneralRe: problem while import TXT file Pin
koolprasad200310-Dec-09 22:24
professionalkoolprasad200310-Dec-09 22:24 
QuestionTable result to Xml Pin
Fayu9-Dec-09 5:31
Fayu9-Dec-09 5:31 
AnswerRe: Table result to Xml Pin
Riaan Booyzen9-Dec-09 20:05
Riaan Booyzen9-Dec-09 20:05 
QuestionSQL query optimization Pin
Member 46483709-Dec-09 1:59
Member 46483709-Dec-09 1:59 
AnswerRe: SQL query optimization Pin
WoutL9-Dec-09 2:30
WoutL9-Dec-09 2:30 
You could try
SELECT c.ipkClientsID AS [ID], c.tblClients.sClientName AS [Client: Client Name], 
	CONVERT(varchar(8000), sTextValue) AS [Client: Postal Address Group (R)] 
FROM tblClients c
Left join tblReportSummary r on r.ifkID = c.ipkClientsID 
	AND       r.iParam = @iParam 
	AND       r.sFieldName = 'Client: Postal Address Group (R)'
WHERE c.ipkClientsID IN 
(
	SELECT ifkSelectedItemsID 
	from tblSelectedItems where sID = @iParam
)

But I think you can best look at the Indexes on the tables.

Wout Louwers

GeneralRe: SQL query optimization [modified] Pin
Member 46483709-Dec-09 3:02
Member 46483709-Dec-09 3:02 
GeneralRe: SQL query optimization Pin
Member 46483709-Dec-09 3:47
Member 46483709-Dec-09 3:47 
GeneralRe: SQL query optimization Pin
WoutL9-Dec-09 20:46
WoutL9-Dec-09 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.