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

Answer Posted / pradip jain

SELECT * INTO tblNew FROM tblOld WHERE 1=2

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are “lock” hints?

761


What are the Advantages of using CTE in sql server?

766


What is the difference between varchar and nvarchar datatypes?

761


What are various ways to enhance the ssrs report?

721


Define Business Edition in SQL Azure?

98






New concepts of sql server 2005 use in your project.

2094


What is a constant or literal in ms sql server?

784


there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration

663


How to convert a unicode strings to non-unicode strings?

741


Explain various On-Delete options in a DB table. Which is the default option?

1137


How to add additional conditions in SQL?

769


What is collation sensitivity? Explain different types.

721


What are built in functions?

758


What is RAID? What are the different types of RAID configurations?

803


Define left outer join?

756