Can you define a foreign key, with a key from the same
table?
Answer Posted / 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 |
Post New Answer View All Answers
Can we have foreign key reference to a non primary key column ?
Explain about DSN?
What does jdbc do?
Does jdbctemplate close connection?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What is the latest version of JDBC? What are the new features added in that?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is meant by jdbc?
How do I check in my code whether a maximum limit of database connections have been reached?
What is connection data?
What are the three basic components of the odbc architecture?
Prepared statements are faster. Why?
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
What is Apache DBCP API?