Click here to Skip to main content
15,912,400 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 17:31
tanpanjang16-Mar-06 17:31 
GeneralRe: SQL Server does not allow remote connections error Pin
Colin Angus Mackay16-Mar-06 20:26
Colin Angus Mackay16-Mar-06 20:26 
GeneralRe: SQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 21:17
tanpanjang16-Mar-06 21:17 
GeneralRe: SQL Server does not allow remote connections error Pin
tanpanjang16-Mar-06 17:37
tanpanjang16-Mar-06 17:37 
QuestionCrystal Reports Query Engine Error Pin
beatle1116-Mar-06 10:18
beatle1116-Mar-06 10:18 
QuestionFetching data giving dynamic table at runtime Pin
sandeep kumar pundhir16-Mar-06 3:30
sandeep kumar pundhir16-Mar-06 3:30 
AnswerRe: Fetching data giving dynamic table at runtime Pin
Colin Angus Mackay16-Mar-06 12:38
Colin Angus Mackay16-Mar-06 12:38 
GeneralAnother Related problem Pin
sandeep kumar pundhir16-Mar-06 20:13
sandeep kumar pundhir16-Mar-06 20:13 
hi
Colin Angus Mackay


Can u please help me in my other problem too. I m doing as u told , now i want to store the result of the exec (@sqlQuery) into a variable @TempColumnValue of type nvarchar(100)

Note: In my case exec (@sqlQuery) always returns a single value

example:

declare @sqlquery varchar(100)
declare @TempColumnValue nvarchar(50)

set @sqlQuery = 'select @TempColumnValue = firstname from usertable where userid=1'
exec (@sqlQuery)

but this gives error 'Must declare the scalar variable "@TempColumnValue"'.

Is there any other way to get it done


waiting ur response!
thanx

sandeep
GeneralRe: Another Related problem Pin
Colin Angus Mackay16-Mar-06 20:30
Colin Angus Mackay16-Mar-06 20:30 
QuestionHow to use Filter forDataset Pin
Muhammad Jawad15-Mar-06 23:28
Muhammad Jawad15-Mar-06 23:28 
QuestionRetrieving data... Pin
merlie15-Mar-06 20:06
merlie15-Mar-06 20:06 
AnswerRe: Retrieving data... Pin
albCode15-Mar-06 21:34
albCode15-Mar-06 21:34 
QuestionHow to set Value in a Auto Number Filed in SQL DB Table? Pin
pubududilena15-Mar-06 16:55
pubududilena15-Mar-06 16:55 
AnswerRe: How to set Value in a Auto Number Filed in SQL DB Table? Pin
HimaBindu Vejella15-Mar-06 18:58
HimaBindu Vejella15-Mar-06 18:58 
Questionstored procedure ...help!!:) Pin
coolshad15-Mar-06 16:07
coolshad15-Mar-06 16:07 
AnswerRe: stored procedure ...help!!:) Pin
dansoft16-Mar-06 3:32
dansoft16-Mar-06 3:32 
AnswerRe: stored procedure ...help!!:) Pin
nguyenvhn16-Mar-06 16:51
nguyenvhn16-Mar-06 16:51 
AnswerRe: stored procedure ...help!!:) Pin
Erik.W16-Mar-06 23:31
Erik.W16-Mar-06 23:31 
QuestionAdd Connection Server Name drop-down - why nothing in list? Pin
LuluSailor15-Mar-06 7:30
LuluSailor15-Mar-06 7:30 
QuestionADO.NET started with what version of ADO? Pin
LuluSailor15-Mar-06 6:38
LuluSailor15-Mar-06 6:38 
AnswerRe: ADO.NET started with what version of ADO? Pin
Colin Angus Mackay15-Mar-06 10:41
Colin Angus Mackay15-Mar-06 10:41 
GeneralRe: ADO.NET started with what version of ADO? Pin
LuluSailor17-Mar-06 6:27
LuluSailor17-Mar-06 6:27 
QuestionMuiltiple SQL Join tutorials Pin
Chandana Subasinghe15-Mar-06 2:17
Chandana Subasinghe15-Mar-06 2:17 
AnswerRe: Muiltiple SQL Join tutorials Pin
albCode15-Mar-06 2:38
albCode15-Mar-06 2:38 
GeneralRe: Muiltiple SQL Join tutorials Pin
Chandana Subasinghe15-Mar-06 5:48
Chandana Subasinghe15-Mar-06 5:48 

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.