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)
 Create table passing variable in stored procedure

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-12-21 : 09:36:29
Ratnam writes "i want to create table using

declare @fieldname varchar(20)
set @fieldname="Purchase"

create table @fieldname

is possible or not because i am tring with queryanalyser
it is giving error.

if specefic answer is there please forward it to me.
advance thanks.
bye
ratnam"

johnsoar
Yak Posting Veteran

66 Posts

Posted - 2001-12-21 : 09:44:42
Check out this article
http://www.sqlteam.com/item.asp?ItemID=4619

Adam
Go to Top of Page
   

- Advertisement -