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...

Create table Employee
(
Employee_Id varchar2(8) Constraint emp_id_pk primary key,
FirstName varchar2(50),
LastName varchar2(50),
DeptID Number(5)
Constraint dept_id_fk Foreign Key(DeptId)
References Department(DeptId)
)

Error I am getting: Constraint specification are not
allowed here

Answer Posted / durgarao k

Create table Employee
(
Employee_Id varchar2(8) Constraint emp_id_pk primary key,
FirstName varchar2(50),
LastName varchar2(50),
DeptID Number(5),
Constraint dept_id_fk Foreign Key(DeptId)
References Department(DeptId)
)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use "while" statements in oracle?

1258


What happens if the update subquery returns multiple rows?

1067


What is a nested table?

1024


What is truncate oracle?

932


How to store pictures on to the database?

934


HI, Please let me know the syllabus for Oracle OCA and OCP Certification

2451


What is the difference between substr & instr functions?

1162


How to delete an existing row from a table in oracle?

1033


What is a cursor variable?

1065


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2784


What is difference between truncate and delete?

994


How to shutdown your 10g xe server?

1103


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4487


State all possible different index configurations a table can possibly have?

958


11. Display the client number and name and the client number and name of the person who referred that client.

2295