Press "Enter" to skip to content

Self-Referencing Foreign Keys in CREATE Statements

Steve Jones links to Steve Jones talking about Steve Jones:

I had written about a FK in a CREATE TABLE statement recently, but the second half of this was that after the original question, the person asked if this would also work for a self-referencing FK. It does, and I wrote this to show that.

Click through for an example of how to do this.