Home Forums SQL Server 2005 T-SQL (SS2K5) TSQL Error using Cursor to loop through sysdatabases (Syntax Error) RE: TSQL Error using Cursor to loop through sysdatabases (Syntax Error)

  • I forgot to mention that once I have the code running I will be using SSRS to allow users to pull updated reports. So Cursor's will not work either embedded in SP_FOREACHDB or in another location. I am going to research the dynamic SQL Option. Is there a good reference material?