Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Cursor (procedural while)
declare @id int DECLARE i CURSOR FAST_FORWARD LOCAL FOR select Id from Pilots OPEN i FETCH NEXT FROM i INTO @id WHILE (@@fetch_status = 0) BEGIN --do stuff here select @id FETCH NEXT FROM i INTO @id END CLOSE i DEALLOCATE i
run
|
edit
|
history
|
help
0
Xml Excercise 3
bc160401882
TSQL - Globally unique string generator
trigger
My notes
Test
Select empID whose salary is greater than their managers
exp8
STACK
Add JSON"Valuetypes to XML Nodes using SQL