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

Answer Posted / naik

select * into oldtable from newtable where oldtable
=newtable

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I view views in sql server?

694


What purpose does the model database server?

851


Can you pass expressions to function parameters?

724


What is sql server replication? : sql server replication

692


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

806






What is a rollup clause?

717


What are the restrictions applicable while creating views? : SQL Server Architecture

752


What do we have to check in database testing?

766


What are the ways available in sql server to execute sql statements?

777


What is partition in sql server?

713


What is encryption key?

98


What are the types of table?

737


what is the difference between count(*) and count(1) ?

811


Can we use max in where clause?

697


What is a performance monitor?

720