what command is used to create a table by copying the
structure of another table including constraints ?
Answer Posted / anksuh
SELECT TOP 0 * INTO employee2 FROM dbo.employeedtls
using this command we can copying the structure of one table
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Sql technical questions
Can a view be mutating? If yes, then how?
Which is better cte or subquery?
Define union, minus, union all, intersect ?
How is indexing done in search engines?
What is transaction control language (tcl)?
How do you truncate?
How do I create a memory optimized filegroup?
How do I run a program in pl sql?
What is information schema in sql?
What are all the different normalization?
How exception is different from error?
what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
How many tables can you join in sql?