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

Answer Posted / hokar

SELECT * INTO tabname1 FROM tabname2 WHERE 1=2 (TO copy
only the structure)

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

498


What is the advantage of sql server?

540


Explain use of expression builder.

565


Define magic tables in sql server?

568


What is the use of keyword with encryption.

578






What is best institute to Learn DotNET And SQL in chennai?

1688


Determine when an index is appropriate?

556


How to create a user name in a database?

588


Can you please differentiate between a primary key and a unique key?

531


What is bcnf normalization form?

662


Why we should not use triggers?

537


What are different types of constraints?

509


What is it unwise to create wide clustered index keys?

583


How can you find out if the current user is a member of the specified microsoft® windows nt® group or microsoft sql server™ role?

597


What is store procedure? When do you use?

523