Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Is it possible to create tables in stored procedures using
a variable for the table name?

Answer Posted / pradeep

One Can create Table using a variable. As #1 Answer
describe. You can only create a temp (memory) table but can
not create physical table.

It will give an error while attempting to execute : -

Create Table @VariableName( EmpID varchar(10),
EmpNm Varchar(100)
)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any difference between primary key and unique with the not null condition?

1000


What are the advantages of passing name-value pairs as parameters?

1215


What is policy based management (pbm)? : sql server database administration

1029


What is db stored procedure?

943


What is the difference between sdf and mdf?

1351


what is new philosophy for database devises for sql server 7.0? : Sql server database administration

1050


Name and describe few console utilities for ssrs?

288


What is difference between materialized view and view?

951


How you can get the list of largest tables in a database?

1062


How to search for a string in all stored procedure in sql server?

1054


What is a derived table?

990


Do you know nested transaction?

998


What is shrink log file?

950


What does the on delete cascade option do?

1062


What do you mean by a Composite primary key?

1185