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)
 Looping through var1, var2, var3

Author  Topic 

cjjubb
Starting Member

5 Posts

Posted - 2011-01-19 : 07:41:01
Hi

I wish to pull data from series of fields in a table called var1, var2, var3, var4 etc.

How is this possible in t-sql?

Any help would be greatly appreciated.

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2011-01-19 : 08:06:07
Please give an example table, example data and wanted result.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -