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 different types of lock modes in sql server 2000?

514


Is truncate a dml command?

490


Where the sql logs gets stored? : sql server database administration

519


How do I setup a local sql server database?

528


Can a trigger be created on a view?

562






When would you use it?

570


How to download microsoft sql server 2005 express edition?

567


Can you explain what are various ways to enhance the ssrs report?

574


Write a code to select distinct records without using the DISTINCT keyword.

641


What do we need queues in sql service broker?

520


Explain where clause?

528


What are the properties of the transaction?

533


Explain about Normalization?

557


What is the use of set nocount on/off statement?

618


How we create SQL Server 2005 Reporting Services ? Give me Sample

1565