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)
 Creating New Tables Dynamically

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-03-02 : 08:38:49
Mohamed Ali writes "Hi,
I am using MS SQL Server as the back end for web development in the J2EE architecture. When I create a new table using the following statement I am getting a new table named "accountID".

CREATE TABLE accountID ("accountID" VARCHAR(255) ,"password" VARCHAR(255) CONSTRAINT "pk_accountID" PRIMARY KEY ("accountID") )

But what I actually want is a new table with the name equal to the value of accountID. accountID is a variable with some value.

How can I achieve this?"
   

- Advertisement -