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 2000 Forums
 SQL Server Development (2000)
 Variable Column Names

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-12-04 : 09:10:50
srinivas writes "In one of my stored procedure I want to create a temp table.
Number of columns in this table should be dynamically created.
So I am not able to give a variable as a column name.
Is there any way doing this."

robvolk
Most Valuable Yak

15732 Posts

Posted - 2001-12-04 : 09:25:31
While you didn't provide much information on what you're trying to do, I think these will help:

http://www.sqlteam.com/item.asp?ItemID=4599
http://www.sqlteam.com/item.asp?ItemID=4619

Go to Top of Page
   

- Advertisement -