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

Can group by and orderby be used together?

963


Your table has a large character field there are queries that use this field in their search clause what should you do?

851


What are different types of statement?

942


Do you know what are the restrictions applicable while creating views? : SQL Server Architecture

945


What is the security principal at the database level that represents your session?

894


Is oracle faster than sql server?

889


What samples and sample databases are provided by microsoft?

976


How to modify the underlying query of an existing view?

931


Is BCNF better than 2NF & 3NF? Why?

1002


What program is used to store the data source file?

905


How to compare the top two records using sql?

1267


Explain the different types of joins?

931


What do you mean by table and field in sql?

965


How to copy the tables, schema and views from one sql server to another?

990


Name the different type of indexes in sql?

907