#Tsql cursors update
Update Records in a Table by using OLE DB Command.Delete Rows from a Table by using OLE DB Command T.
#Tsql cursors how to
How to Call a Stored Procedure in OLE DB Command T.
#Tsql cursors upgrade
![tsql cursors tsql cursors](https://www.tutorialgateway.org/wp-content/uploads/KEYSET-Cursor-in-SQL-Server-11.png)
Here, we will update Discount column by product Grade into tbl_DailySales using While loop.The above script will create a temporary table in TempProduct database. We can insert or delete records in the temporary table similar to a general table like:.
![tsql cursors tsql cursors](http://4.bp.blogspot.com/-faChF-LRqbw/Vel4TbR6QVI/AAAAAAAACTE/FKc3QPM21aQ/s1600/sqlcur.gif)
![tsql cursors tsql cursors](https://www.sqlshack.com/wp-content/uploads/2020/06/using-sql-cursor-example-e1592827420843.jpeg)