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

Answer Posted / jaydev

SELECT TOP 0* INTO tabname2 FROM tabname1

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why truncate is ddl?

596


What is the cartesian product of table?

537


What is dirty page?

558


What is #temp and @table variable in SQL server?

564


Do you know the policy based administration feature of sql server 2008?

566






What do you understand by user-defined function in the sql server?

478


What is index fragmentation in ms sql server?

590


what is the primary use of the model database? : Sql server administration

494


What is usually the first word in a sql query?

586


How to link tables in sql server?

466


To which devices can a backup be created and where should these devices be located? : sql server management studio

557


How would you choose between a clustered and a non-clustered index?

533


What is @@rowcount in sql?

549


Explain the different types of joins?

554


What are different backups available in sql server?

597