hari babu
2003-01-24 07:34:02 UTC
hai all,
I have two tables A and B
Table A contains columns : name, ID, Age
Table B contains columns : ID, Marks. This ID has a
Foreign Key relationship to ID in table A.
I want to define a 1:1 relationship.(one student with
a ID, can have only one mark in table B).
But when i define this realtion and try creating an
entry in the tbale A or Table B i was caught in a
circular dependency.
to create an entry in table A the syntax is create(int
ID, String name, BLocal).
To create B the Syntax is : create(int marks, ALocal)
This might be a Naive question. but help me solving it
or corect me if i am wrong.
Hari Babu
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
I have two tables A and B
Table A contains columns : name, ID, Age
Table B contains columns : ID, Marks. This ID has a
Foreign Key relationship to ID in table A.
I want to define a 1:1 relationship.(one student with
a ID, can have only one mark in table B).
But when i define this realtion and try creating an
entry in the tbale A or Table B i was caught in a
circular dependency.
to create an entry in table A the syntax is create(int
ID, String name, BLocal).
To create B the Syntax is : create(int marks, ALocal)
This might be a Naive question. but help me solving it
or corect me if i am wrong.
Hari Babu
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com