what command is used to create a table by copying the
structure of another table?
Answers were Sorted based on User's Feedback
Answer / hokar
SELECT * INTO tabname1 FROM tabname2 WHERE 1=2 (TO copy
only the structure)
Is This Answer Correct ? | 18 Yes | 4 No |
Answer / naik
select * into oldtable from newtable where oldtable
=newtable
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kunal sain
create table table_name
as select * from another_table
where 1>2;
Is This Answer Correct ? | 7 Yes | 9 No |
Answer / narsing
SELECT * INTO tabname1 FROM tabname2 WHERE 1<>2 (TO copy
only the structure)
Is This Answer Correct ? | 0 Yes | 3 No |
What is the fastest way to permanently delete a 1 million row table named customers?
How to turn on the mssql api module in php?
What is the default server name for sql server?
What is self contained sub query?
What is the difference between varchar and nvarchar?
user defined datatypes
What is candidate key with example?
Define outer join?
What is transaction server auto commit?
wht is normalization?can u explain me in detail?
Is it possible for a stored procedure to call itself or recursive stored procedure?
tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration