April 8, 2008 at 12:37 pm
I am trying to insert into a table using a cursor and I am getting
Cursor Error -1
Msg 3902, Level 16, State 1, , Line 153
The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.
and I cant find out anything about the error Cursor Error -1. Now the commit error I can find online but I am not sure if the two are related
Any help would be greatly appreciated.
April 8, 2008 at 1:00 pm
Could you copy the cursor code here.. It will be helpful
Vinoj
April 8, 2008 at 1:06 pm
Are you sure you need a cursor? If you do post the code you may find that the cursor is unnecessary.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply