Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / thirumal

select * into <new table name> from < old tablename> where
<any false condition>
ex: new table name "emp"
Old table name "dept"
select * into emp from dept where 2=5
then it will display only the structure of the old
table,not the data

Is This Answer Correct ?    3 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do sql databases work?

1003


Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?

1103


What does plv msg allows you to do?

1143


explain normalization concept? : Sql dba

1052


Can a trigger call a stored procedure?

1071


What is mutating error?

972


What are pl/sql cursors?

1055


What makes a good primary key?

1046


What are instead of triggers?

1046


Where is sql database stored?

985


What is PL/SQL Records?

1197


Can a select statement fire a trigger?

1167


How does a self join work?

1132


What is compound trigger?

1042


what is the difference between inner and outer join? Explain with example. : Sql dba

1030