Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Working with Oracle
»
www.sqlservercentral.com
www.sqlservercentral.com
Rate Topic
Display Mode
Topic Options
Author
Message
nevergiveupjohnbenny
nevergiveupjohnbenny
Posted Monday, April 21, 2008 4:30 AM
Forum Newbie
Group: General Forum Members
Last Login: Monday, April 21, 2008 4:24 AM
Points: 1,
Visits: 0
sir i have a problem while creating a procedure to insert values with a table containing foregin key please help
Post #487809
ChiragNS
ChiragNS
Posted Monday, April 21, 2008 5:06 AM
SSCrazy
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
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"
Post #487828
ChiragNS
ChiragNS
Posted Wednesday, April 23, 2008 12:03 AM
SSCrazy
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 5:02 AM
Points: 2,365,
Visits: 1,825
No response ;)
"Keep Trying"
Post #489059
Vijaya Kadiyala
Vijaya Kadiyala
Posted Friday, July 04, 2008 1:11 PM
SSCommitted
Group: General Forum Members
Last Login: Monday, October 25, 2010 6:09 AM
Points: 1,621,
Visits: 409
hi
r u getting any errors.
thanks -- vj
http://dotnetvj.blogspot.com
Thanks -- Vijaya Kadiyala
www.dotnetvj.com
SQL Server Articles For Beginers
Post #528758
Jeff Moden
Jeff Moden
Posted Friday, July 04, 2008 9:08 PM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 5:33 PM
Points: 32,902,
Visits: 26,783
The OP "left the building" 2 months ago...
--Jeff Moden
"
RBAR
is pronounced "ree-bar" and is a "Modenism" for "
R
ow-
B
y-
A
gonizing-
R
ow".
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #528788
karthik M
karthik M
Posted Friday, March 13, 2009 5:19 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 9:03 AM
Points: 2,008,
Visits: 2,467
I think lot of peoples are coming here for one day and leaving.
karthik
Post #675045
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.