what command is used to create a table by copying the
structure of another table?

Answers were Sorted based on User's Feedback



what command is used to create a table by copying the structure of another table?..

Answer / hokar

SELECT * INTO tabname1 FROM tabname2 WHERE 1=2 (TO copy
only the structure)

Is This Answer Correct ?    18 Yes 4 No

what command is used to create a table by copying the structure of another table?..

Answer / pradip jain

SELECT * INTO tblNew FROM tblOld WHERE 1=2

Is This Answer Correct ?    7 Yes 0 No

what command is used to create a table by copying the structure of another table?..

Answer / kumar.t

Select * into newnew1 from newnew WHere 1=2

Is This Answer Correct ?    4 Yes 0 No

what command is used to create a table by copying the structure of another table?..

Answer / jaydev

SELECT TOP 0* INTO tabname2 FROM tabname1

Is This Answer Correct ?    5 Yes 3 No

what command is used to create a table by copying the structure of another table?..

Answer / naik

select * into oldtable from newtable where oldtable
=newtable

Is This Answer Correct ?    2 Yes 1 No

what command is used to create a table by copying the structure of another table?..

Answer / kunal sain

create table table_name
as select * from another_table
where 1>2;

Is This Answer Correct ?    7 Yes 9 No

what command is used to create a table by copying the structure of another table?..

Answer / narsing

SELECT * INTO tabname1 FROM tabname2 WHERE 1<>2 (TO copy
only the structure)

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is the fastest way to permanently delete a 1 million row table named customers?

0 Answers  


How to turn on the mssql api module in php?

0 Answers  


What is the default server name for sql server?

0 Answers  


What is self contained sub query?

0 Answers  


What is the difference between varchar and nvarchar?

0 Answers  






user defined datatypes

1 Answers   Wipro,


What is candidate key with example?

0 Answers  


Define outer join?

0 Answers  


What is transaction server auto commit?

0 Answers  


wht is normalization?can u explain me in detail?

9 Answers   TCS,


Is it possible for a stored procedure to call itself or recursive stored procedure?

0 Answers  


tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

0 Answers  


Categories