Hi, I'm kinda new to this so please be patient. I'm using MySQL Query Browser to setup some Foreign Keys and Indexes but I keep getting the dreaded 1452 error.
What is the general rule of thumb for what should come first? Foreign Keys or Indexes?
Also is it bad practice to have the same columns for both indexes and foreign keys?
Thanks in advance.
What is the general rule of thumb for what should come first? Foreign Keys or Indexes?
Also is it bad practice to have the same columns for both indexes and foreign keys?
Thanks in advance.