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
Duplicate Records
Task_5_Final
ss sqlpractice2014
Merge statement
1D Hotel
Unpivot Example
repert
Basic Template
Max from multiple columns
a