Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Dynamic cursor variable
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

723 Posts

Posted - 08/02/2007 :  06:42:54  Show Profile  Visit pelegk2's Homepage  Send pelegk2 an ICQ Message  Reply with Quote
i have this code in which i define a @TempTableCursor
but is there a way that the TargetTable will be
so when i define set the @TempTableCursor it will have in the
defenition the TargetTable with a dynamic changing number?

Declare @TempTableCursor cursor 
	Set @TempTableCursor = Cursor Local FAST_FORWARD
		For Select * From TargetTable

thnaks in advance

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)

Premature Yak Congratulator

22864 Posts

Posted - 08/02/2007 :  08:18:09  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
Denormalised structures?


Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000