April 21, 2008 at 4:30 am
sir i have a problem while creating a procedure to insert values with a table containing foregin key please help
April 21, 2008 at 5:06 am
Hi
Are you getting the Foreign key violation error. Foreign keys are mean to to enfore relationships between tables. A foreign key column(s) in one table points to PrimaryKey or Unique Index column(s) in another table. The values you are inserting into a Foreign key column should be the same that are in the Perimay key columns.
Ex:- Employee table (EmpID , Name...) - EmpID is the Pkey
EmployeeLeaves table (EmpID,LeaveType,LeaveDate...). EmpID is the Foreign key, it points to EmpId in employee table.
"Keep Trying"
April 23, 2008 at 12:03 am
No response 😉
"Keep Trying"
July 4, 2008 at 1:11 pm
hi
r u getting any errors.
thanks -- vj
July 4, 2008 at 9:08 pm
The OP "left the building" 2 months ago...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 13, 2009 at 5:19 am
I think lot of peoples are coming here for one day and leaving.
karthik
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply