0

Hi,
These are the opening lines of my code

USE myDatabase
GO

PRINT '@@FETCH_STATUS: ' + CAST(@@FETCH_STATUS AS nvarchar(30))

This returns FETCH_STATUS as -1. I have just opened the connection. Can anyone tell me why this is occuring?

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by atinobrian
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.