for loop in sql??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

for loop in sql???

is it possible that there is a for loop command like in c or c++

20th Jul 2016, 5:44 PM
Smruthi Ravichadran
Smruthi Ravichadran - avatar
6 Answers
+ 2
In sql server you can use WHILE
21st Jul 2016, 4:12 AM
antonio
antonio - avatar
+ 1
noo !!
21st Jul 2016, 12:53 AM
Aek Sebaâ
Aek Sebaâ - avatar
+ 1
We can do looping but specifically for loop is not defined in sql, or not even in pl/sql
21st Jul 2016, 6:33 PM
ascetic
ascetic - avatar
+ 1
as Antonio said there is a while loop in sql server
21st Jul 2016, 7:40 PM
ashwath nm
ashwath nm - avatar
+ 1
you can use while
22nd Jul 2016, 6:14 PM
Lalit Sharma
Lalit Sharma - avatar
0
no, but you can use a progeamming language to get many data from your database
21st Jul 2016, 5:16 PM
DECHAICHA Fethi
DECHAICHA Fethi - avatar