aspose file tools*
The moose likes JDBC and the fly likes [on SQL]difference between REFERENCE and FOREIGNKEY? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "[on SQL]difference between REFERENCE and FOREIGNKEY?" Watch "[on SQL]difference between REFERENCE and FOREIGNKEY?" New topic
Author

[on SQL]difference between REFERENCE and FOREIGNKEY?

Ellen Zhao
Ranch Hand

Joined: Sep 17, 2002
Posts: 581
I'm not clear about the difference between reference and foreign key in SQL, could anyone explain something as explicit as possible? Thanks in advance.
Regards,
Ellen
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: [on SQL]difference between REFERENCE and FOREIGNKEY?