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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain few examples of RDBMS?

767


What are the different SQL Server Versions you have worked on?

764


Explain about merge replications?

768


When we should use @@error?

705


What is the difference between nvl and nvl2?

717






What samples and sample databases are provided by microsoft?

760


Do you know how to send email from database?

729


What are page splits? : SQL Server Architecture

746


Do you know what is openxml in sql server?

808


What is dynamic cursor in SQL SERVER?

740


Describe in brief authentication modes in sql server.

733


What protocol does sql server use?

697


Why do we use trigger?

710


Define cursor locking

744


Explain primary key in sql server?

751