How create table structure only from tableA to TableB if
TableA have some data?
Answer Posted / karthik
Create table emp1
as
select * from emp
where 1=2
It will give the structure of the table.
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Tell me when is the update_statistics command used?
What are different types of schemas?
What are the new security features added in sql server 2012? : sql server security
Why are you getting errors when creating a new odbc dsn?
Explain hostprotectionattribute in sql server 2005?
What is difference between clustered index and non clustered index?
What is a filestream?
You want to implement the one-to-many relationship while designing tables. How would you do it?
what is denormalization? : Sql server database administration
How to convert binary strings into integers in ms sql server?
What is user-defined scalar function?
What is mean by clustered index and non clustered index, give syntax of creation? : sql server database administration
List the advantages of using stored procedures?
Why I can not enter 0.001 second in date and time literals in ms sql server?
Explain nested join?