TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bineesh Viswanath
NA
1k
777.7k
INSERT Auto Incremented PK from Table A into FK of Table B
Jun 14 2013 5:38 AM
Sir, Is there any option to make PK auto increment from tbl_A to the FK in tbl_B?
in case of tbl_Division,
divisionId in PK(IDENTITY)
divisionName
classId(FK,IDENTITY in tbl_Class)
if I enter divisionName, divisionId will be generate 1 , but My doubt is would the classId also increament same as tbl_Class date to tbl_Division?
Reply
Answers (
4
)
Primary and Foreign Key in SQL
Stored Procedure