| 
	
 | 
 Posted by John Bokma on 02/03/06 02:24 
I am quite new to MS SQL, and I want to read rows from a todo table, and  
when a row has been processed, I want to delete that row. 
 
Ages ago in MySQL I would probably have locked the table, select, process  
a row, delete a row, unlock the table. 
 
I have been reading through the documentation from MS SQL, but it's not  
clear what exactly I should do. 
 
Since I want to lock only one table in the select (the others just provide  
data, and are not modified), what's a good solution? 
 
 
--  
John                               MexIT: http://johnbokma.com/mexit/ 
                           personal page:       http://johnbokma.com/ 
        Experienced programmer available:     http://castleamber.com/ 
            Happy Customers: http://castleamber.com/testimonials.html
 
  
Navigation:
[Reply to this message] 
 |