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 2000 Forums
 SQL Server Development (2000)
 Invalid cursor state

Author  Topic 

noamg
Posting Yak Master

215 Posts

Posted - 2005-01-23 : 03:04:30
hi,

I use ( SQL2000 + SP3a) EM to change a column from "allow Null" -> "not null". the table is empty.
I got an error:
"ODBC error: [Microsoft][ODBC SQL Server Driver]Invalid cursor state"

any idea ?

Noam Graizer

nr
SQLTeam MVY

12543 Posts

Posted - 2005-01-23 : 03:19:45
save the change script and run it in query analyser.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

noamg
Posting Yak Master

215 Posts

Posted - 2005-01-23 : 03:39:18
it is maybe a bug in the EM ?

Noam Graizer
Go to Top of Page

nr
SQLTeam MVY

12543 Posts

Posted - 2005-01-23 : 04:09:05
Could be - have a look at the script and see.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -