Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. $query = "SELECT * FROM database"; Can't possibly not work.
  2. Sorry, I don't follow.
  3. Use code tags next time. Echo the offending queries.
  4. That's an entire script.... what's the isolated mysql issue?
  5. Interesting... I'd find the top one in each division in one query, then the "logical" ordering skipping the first N, and union them.
  6. "Prevent" makes no sense... it's either an number or a string, not both.
  7. What does CHECK TABLES have to say?
  8. Yikes... what's all this about?
  9. Hard to believe... you you mean the count or the record count?
  10. CHECK each table.
  11. Sorry, I don't follow.
  12. There are many such free resources....
  13. And if you manually shut it down and re-start it?
  14. Sure... use DATEDIFF().
  15. Echo the queries and post them.
  16. Show us the actual query, not an intermediate version.
  17. fenway

    Field order

    Sorry, I don't follow.
  18. What is your current query?
  19. fenway

    server time

    Only TIMESTAMP fields "know" about server and session timezones.
  20. INNER JOIN -- both tables have to have matching rows LEFT JOIN -- non-matching rows from the table on the "right" will be NULLed out, but still "found".
  21. Yup -- no different that anything else. Make sure you isolate each condition.
  22. MySQL will never figure out how to do this for you... but it's probably not far from UUID().
  23. That's shouldn't have mattered... where these proper DATE fields?
  24. You'll need sub-queries for this.
×
×
  • 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.