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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Table schema changed at runtime in Cursor

Author  Topic 

K_P
Starting Member

10 Posts

Posted - 2008-04-08 : 20:48:14
none

jezemine
Master Smack Fu Yak Hacker

2886 Posts

Posted - 2008-04-08 : 22:38:22
I'm guessing the problem is all those ALTER TABLE statements in your proc, which is being called from inside your cursor.

there is almost certainly a way to do what you are doing without a cursor.


elsasoft.org
Go to Top of Page

K_P
Starting Member

10 Posts

Posted - 2008-04-09 : 08:31:25
Well The database needs updating all the tables where employeeno is needed
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-04-10 : 09:54:50
Oh, so very clever to delete your post.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -