Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Tuesday, October 10, 2017

Cursor variable losing data

SQLServerCentral » Latest topics
Cursor variable losing data
Hi, I have an SQL Server agent job which essentially fetches the names of databases to be backed up into a cursor and then executes an SP, passing in the name of each database, which will back up each database one at a time. The code is as follows:

No comments: