Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Delete rows from the table using cursor Expand / Collapse
Author
Message
Posted Thursday, January 17, 2013 1:06 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, January 17, 2013 1:04 AM
Points: 1, Visits: 6
Hi, Nandy
Perhaps you should modify your cursor query into this.

declare test_cursor cursor for
select * from test WITH(NOLOCK)

to be able to make alteration to the table
Post #1408196
Posted Thursday, January 17, 2013 4:12 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, March 26, 2013 8:41 AM
Points: 2,562, Visits: 3,451
PLease note.4 years old thread.

-------Bhuvnesh----------
While 1 = 1 (Learning SQL....)
Click to get fast response of your post
Post #1408317
Posted Monday, January 21, 2013 6:11 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Today @ 2:27 AM
Points: 350, Visits: 1,340
tcomponent (1/17/2013)
Hi, Nandy
Perhaps you should modify your cursor query into this.

declare test_cursor cursor for
select * from test WITH(NOLOCK)

to be able to make alteration to the table



http://thesqlguy.blogspot.com/
Post #1409524
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse