9/24/2023 0 Comments Sql cursorHere I want to generate a Max ID and Insert the data so I have used the Cursor. Insert Records, FETCH NEXT FROM MY_data INTO, END CLOSE MY_data Declare MY_data CURSOR FOR Select Name ,Mobile from My_table ( Nolock)įETCH NEXT FROM MY_data INTO, WHILE = 0 BEGIN Set = (Generate Max ID)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |