Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pelegk2
Aged Yak Warrior
723 Posts |
Posted - 2007-08-02 : 06:42:54
|
i have this code in which i define a @TempTableCursor but is there a way that the TargetTable will beTargetTable1,TargetTable2,..TargetTable(i)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 advancepelegIsrael -the best place to live in aftr heaven 9but no one wan't to go there so fast -:) |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-08-02 : 08:18:09
|
Denormalised structures?www.sommarskog.se/dynamic_sql.htmlMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|