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

Answer Posted / kunal sain

create table table_name
as select * from another_table
where 1>2;

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a primary index?

697


Which are the new data types introduced in sql server 2008?

673


What to perform pattern match with the like operator?

657


How can you tell if a database object is invalid?

786


when would you go for denormalization? : Sql server database administration

638






How to convert numeric values to integers in ms sql server?

699


What are a scheduled jobs or what is a scheduled tasks?

653


How to delete a database in ms sql server?

726


What is sub query and its properties?

735


What are the 7 disadvantages to a manual system?

683


Is port 1433 secure?

736


explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?

2188


Can a unique index be created on a column, which contains null?

713


Explain where clause?

733


Explain DBCC?

733