Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Unable to dynamically delete current cursor record using WHERE CURRENT OF

$
0
0
Hi,

I am trying to write a script that will delete data from a given table using cursors.
As shown in the script below, if the delete..where current of..cursor script is executed directly, it is successful.

declare @objcursor as cur

Viewing all articles
Browse latest Browse all 3145

Trending Articles