How can I create a table from another table without copying any values from the old table?

Answer Posted / arun

Select top 0
into newtable
from oldtable

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change the system date and time from SQL Plus Terminal ?

675


Where are sql server user names and passwords stored in sql server?

526


What do you mean by subquery?

581


Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?

78


How many types of attribute relationships are there? : sql server analysis services, ssas

580






Distinguish between commit and rollback?

547


Explain the xml support sql server extends?

615


How to loop through returning rows?

574


What do I need to start working with sql studio? : sql server management studio

585


In what three ways is the return statement used in a stored procedure?

514


What does normalization do to data?

538


What are the different types of backups avaialabe in sql server 2005?

620


What are locks in sql?

535


how you can move data or databases between servers and databases in sql server? : Sql server administration

481


What is dml command?

545