what command is used to create a table by copying the
structure of another table?
Answers were Sorted based on User's Feedback
Answer / hokar
SELECT * INTO tabname1 FROM tabname2 WHERE 1=2 (TO copy
only the structure)
Is This Answer Correct ? | 18 Yes | 4 No |
Answer / naik
select * into oldtable from newtable where oldtable
=newtable
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kunal sain
create table table_name
as select * from another_table
where 1>2;
Is This Answer Correct ? | 7 Yes | 9 No |
Answer / narsing
SELECT * INTO tabname1 FROM tabname2 WHERE 1<>2 (TO copy
only the structure)
Is This Answer Correct ? | 0 Yes | 3 No |
Explain what are the restrictions that views have to follow? : SQL Server Architecture
what is mean by constraints in sql?
What function does a database engine serve in the sql server?
Mention the different types of replication in sql server.
You want to implement the one-to-one relationship while designing tables. How would you do it?
What is Command line parameters in PLSQL.?
what is raid? : Sql server database administration
What purpose does the model database server?
what do you understand by change data capture?
How do I start sql server?
How many types of cursor type are there?
what is web server?