Can you define a foreign key, with a key from the same
table?

Answers were Sorted based on User's Feedback



Can you define a foreign key, with a key from the same table?..

Answer / abhay

No, foreign key in a table is a reference from another
table, making a key foreign in the table itself will not be
useful for anything since the table will reference itself
during a query

Is This Answer Correct ?    4 Yes 0 No

Can you define a foreign key, with a key from the same table?..

Answer / samsudeen

Foreign key is a reference key of the Database.
if u set the foreing key refernece to the table, its make
the relation between two table.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JDBC Interview Questions

How to execute bulk number of queries at once?

3 Answers   Wipro,


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

0 Answers  


What are the three parts of a jdbc url?

0 Answers  


What are the three basic components of the odbc architecture?

0 Answers  


Does jdbc require oracle client?

0 Answers  


How do I check in my code whether a maximum limit of database connections have been reached?

0 Answers  


what is rowset?

3 Answers   Marlabs,


What is odbc and jdbc?

0 Answers  


How do find debugging problems related to JDBC API?

1 Answers  


How to move the cursor in scrollable resultset ?

0 Answers  


How to get the Database server details in java program?

0 Answers  


how do we get the connection from connection pool

1 Answers  


Categories