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

Answer Posted / anksuh

SELECT TOP 0 * INTO employee2 FROM dbo.employeedtls
using this command we can copying the structure of one table

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by dbms? What are its different types?

559


What are stuff and replace function?

580


how to use 'mysql' to run sql statements? : Sql dba

543


what are rollup and cube in t-sql? : Transact sql

663


What are the differences between in and exists clause?

575






What are the types of triggers in sql?

507


What does cursor do in sql?

524


What is the difference between left join and right join?

504


What does truncate mean in sql?

538


What is normalization sql?

519


What are predefined functions in sql?

542


What are the different dml commands in sql?

592


Can we use ddl statements in stored procedure sql server?

524


What are the limitations of sql express?

532


What is acid property in a database?

588