Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pradeep_iete
Yak Posting Veteran
84 Posts |
Posted - 2008-05-06 : 07:47:16
|
Can i have equvivalent loop in SQL for the following C lannguage Loop. I am not able to generate Loop of this kind in MSSQL Store procedures. i=10; Do { Statement 1 ; Statement 2 ; i-- '; } while i=0 ; |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2008-05-06 : 08:18:53
|
Show us what you have tried so far.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-05-06 : 08:19:41
|
Yes.It is called WHILE in T-SQL. E 12°55'05.25"N 56°04'39.16" |
|
|
|
|
|