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

Is sql microsoft?

977


What is trigger in sql?

1026


Why do we create stored procedures & functions in pl/sql and how are they different?

887


What is the difference between microsoft sql and mysql?

919


What is bulk compiling in pl/sql.?

1058


how would concatenate strings in mysql? : Sql dba

1011


What is AUTH_ID and AUTH_USER in pl/sql ?

2135


What do you understand by exception handling in pl/sql?

961


Why do we use procedures in sql?

1017


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1785


What if we write return in procedure?

1332


What does select * from mean in sql?

3065


What is the clause we need to add in function body to return variable?

965


How can we implement rollback or commit statement in a trigger?

977


How many types of triggers exist in pl/sql?

1008