Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL cursor fetch problem Pin
jonhbt7-Jun-09 23:47
jonhbt7-Jun-09 23:47 
GeneralRe: SQL cursor fetch problem Pin
mmdullah8-Jun-09 0:21
mmdullah8-Jun-09 0:21 
GeneralRe: SQL cursor fetch problem Pin
jonhbt8-Jun-09 0:39
jonhbt8-Jun-09 0:39 
GeneralRe: SQL cursor fetch problem Pin
mmdullah8-Jun-09 1:18
mmdullah8-Jun-09 1:18 
GeneralRe: SQL cursor fetch problem Pin
Ashfield8-Jun-09 1:36
Ashfield8-Jun-09 1:36 
AnswerHorror Pin
harold aptroot8-Jun-09 0:35
harold aptroot8-Jun-09 0:35 
Answercoding horror! Pin
PandemoniumPasha8-Jun-09 2:24
PandemoniumPasha8-Jun-09 2:24 
AnswerRe: SQL cursor fetch problem Pin
David Skelly8-Jun-09 3:10
David Skelly8-Jun-09 3:10 
I'm not a T-SQL expert so I may be wrong here. On the other hand, if you want the opinion of database experts you should probably have posted this in the database forum.

I suspect that:

declare curMain cursor for select @strsql

will select the literal contents of the variable strsql. It seems to me that you will need to exec the strsql variable, or whatever the T-SQL equivalent is, in order to get it to run as an actual query.

Of course, if anyone from the database forum happens to be passing by and knows better than me, please feel free to correct me.
AnswerRe: SQL cursor fetch problem Pin
Pete O'Hanlon8-Jun-09 4:31
mvePete O'Hanlon8-Jun-09 4:31 
Questionwscript Pin
arkiboys7-Jun-09 22:08
arkiboys7-Jun-09 22:08 
GeneralRe: wscript Pin
harold aptroot7-Jun-09 22:26
harold aptroot7-Jun-09 22:26 
AnswerRe: wscript Pin
Garth J Lancaster8-Jun-09 0:02
professionalGarth J Lancaster8-Jun-09 0:02 
QuestionMS ACCESS PROBLEMS Pin
jonhbt7-Jun-09 21:56
jonhbt7-Jun-09 21:56 
AnswerRe: MS ACCESS PROBLEMS Pin
MumbleB7-Jun-09 22:03
MumbleB7-Jun-09 22:03 
QuestionRe: MS ACCESS PROBLEMS Pin
jonhbt7-Jun-09 22:20
jonhbt7-Jun-09 22:20 
AnswerRe: MS ACCESS PROBLEMS Pin
MumbleB8-Jun-09 0:53
MumbleB8-Jun-09 0:53 
Questionautogenerate number in datagridview Pin
KIDYA7-Jun-09 21:46
KIDYA7-Jun-09 21:46 
AnswerRe: autogenerate number in datagridview Pin
Mycroft Holmes7-Jun-09 21:54
professionalMycroft Holmes7-Jun-09 21:54 
AnswerRe: autogenerate number in datagridview Pin
MumbleB7-Jun-09 22:07
MumbleB7-Jun-09 22:07 
GeneralRe: autogenerate number in datagridview Pin
KIDYA7-Jun-09 22:10
KIDYA7-Jun-09 22:10 
GeneralRe: autogenerate number in datagridview Pin
MumbleB8-Jun-09 0:36
MumbleB8-Jun-09 0:36 
Questionsimple udp client server but Error!!! Pin
plowgrammer20107-Jun-09 21:27
plowgrammer20107-Jun-09 21:27 
AnswerRe: simple udp client server but Error!!! [modified] Pin
Garth J Lancaster7-Jun-09 21:57
professionalGarth J Lancaster7-Jun-09 21:57 
GeneralRe: simple udp client server but Error!!! Pin
plowgrammer20107-Jun-09 23:15
plowgrammer20107-Jun-09 23:15 
GeneralRe: simple udp client server but Error!!! Pin
Garth J Lancaster7-Jun-09 23:50
professionalGarth J Lancaster7-Jun-09 23:50 

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.