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
How do we Backup SQL Azure Data?
What are window functions in sql server?
How to select an exiting database using mssql_select_db()?
Why functions are used in sql server?
What are partitioned views?
What is the difference between mysql and sql server?
What is database mirroring?
What is Service Broker in sql server 2012?
What is log cache in sql server?
How to bind a view to the schema of the underlying tables?
Why do we use trigger?
Mention what are the different types of ssrs reports?
What do you need to connect php to sql server?
Determine when an index is appropriate?
What are the advantages of policy management?