User 596f3ef229
07-06-2006 06:51:03
I am using jchem3.1.7 and MS SQL Server 2005 with the MS jdbc driver 1.0.809.102.
I can connect to the db OK but when I try to create a new table using default parameters (ie only a new table name entered), I get the following error:
SQL warning
SQLState: S0001
Message: sp_cursoropen/sp_cursorprepare: The statement can only be a batch or a stored procedure with a single select, without FOR BROWSE, COMPUTE BY, or variable assignments.
Vendor: 16938
When I look at the database using the MS SQL Server Management Studio, the table has not been created. If I simply remove "SelectMethod=cursor" from the jdbc connection URL, the table creation works fine - although with direct rather than cursor based selection.
Any ideas what I'm doing wrong?
I can connect to the db OK but when I try to create a new table using default parameters (ie only a new table name entered), I get the following error:
SQL warning
SQLState: S0001
Message: sp_cursoropen/sp_cursorprepare: The statement can only be a batch or a stored procedure with a single select, without FOR BROWSE, COMPUTE BY, or variable assignments.
Vendor: 16938
When I look at the database using the MS SQL Server Management Studio, the table has not been created. If I simply remove "SelectMethod=cursor" from the jdbc connection URL, the table creation works fine - although with direct rather than cursor based selection.
Any ideas what I'm doing wrong?