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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 for loop to row by row iteration

Author  Topic 

dhanu.tpk
Starting Member

14 Posts

Posted - 2010-02-02 : 04:30:38
can i use for loop to iterate row by row

senthil_nagore
Master Smack Fu Yak Hacker

1007 Posts

Posted - 2010-02-02 : 04:33:44
No for Loops in SQL SEREVR, Use While loops or Cursors.

Senthil.C
------------------------------------------------------
[Microsoft][ODBC SQL Server Driver]Operation canceled

http://senthilnagore.blogspot.com/
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-02-02 : 04:47:55
Why did you start a new thread?
What happened to this?
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=139214

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

senthil_nagore
Master Smack Fu Yak Hacker

1007 Posts

Posted - 2010-02-02 : 05:01:31
Actually what you looking for!

post some sample data and expected output!

Senthil.C
------------------------------------------------------
[Microsoft][ODBC SQL Server Driver]Operation canceled

http://senthilnagore.blogspot.com/
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-02 : 05:03:15
quote:
Originally posted by dhanu.tpk

can i use for loop to iterate row by row


you're opening new threads for same topic?
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-02-02 : 05:05:36
quote:
Originally posted by visakh16

quote:
Originally posted by dhanu.tpk

can i use for loop to iterate row by row


you're opening new threads for same topic?


Yes. Different people can answer

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -