Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. What?
  2. So there's no "proper" foreign key?
  3. it's "exists", but yes.
  4. You should be able to handle this trivially in PHP.
  5. So let's switch to INNER JOIN for now (i'm assuing there are matching rows). Could you show some sample output?
  6. Add "WITH ROLLUP" to your group by. Aside: Drop the DISTINCT.
  7. Ugh -- Word. Basically any editor that respects DOS/UNIX filetypes.
  8. Wait a minute... you can't have taskid being auto-increment in *TWO* places?!?!
  9. Could you post the table structure so we can try it on our end?
  10. I would NOT worry about those settings -- if you're server has those set, don't change them in the backups. As for editing, use wordpad, not notepad.
  11. Post the query that's causing that error-- not the code.
  12. Seems like it doesn't like the gs...
  13. I'm sorry I still don't understand... 1..6 refer to column offset??
  14. You can "fake" fields with "AS".
  15. That would be easier to read & maintain using JOINs, but yes.
  16. Well, you can turn strict mode off -- at least back to the 4.1 settings -- but not sure that's what you want.
  17. Hmm... what about a left join to itself?
  18. Yes, let's see the actual statment.
  19. I'm sorry, I still don't follow... could you give a concrete example?
  20. Define "not working" -- maybe it's a self-table thing.
  21. mysql has replace().
  22. What errors do you get from mysql? I don't see any FKs in the table defs.. and you're supression errors.
  23. Sounds like you're in strict mode now.
  24. Huh? What do you want the records to look like in the end?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.