Skip to:
Content
Pages
Categories
Search
Top
Bottom

sql question


  • 5589786
    Inactive

    I’m working on making a plugin for WP/BP and I was looking at the code for buddy press to see how things have been implemented.

    While looking at the sql query that created the initial database tables, I noticed that some of the lines say KEY. For example, KEY creator_id (creator_id).

    I tried looking around to see what that did but I couldn’t find an answer. The only thing that I could conclude is that KEY is the same as FOREIGN KEY. Also if it is a FOREIGN KEY isn’t supposed to have a reference to another table?

    Am close to the right answer?

    Thanks for any responses.

    EDIT: Accidentally clicked on the wrong forum section. Could someone move this to the appropriate section?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘sql question’ is closed to new replies.
Skip to toolbar