Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. What's "it"?
  2. Confirm that each of the inner queries runs as fast as possible first.
  3. I'd recommend that you review some of the archived posts, as well as the tutorials on the main site.
  4. You didn't make the field big enough... it's a SMALLINT, right? Make it INT UNSIGNED.
  5. Still one each.
  6. That's correct -- EXPLAIN will tell you which one it picked, or if it decided to merge them.
  7. Then post your solution for the benefit of others.
  8. Unless you use TIMESTAMP columns, time zones in mysql have no effect whatsoever on DATE/DATETIME.
  9. 1-way encryption is called hashing.
  10. Use a LEFT JOIN... IS NULL.
  11. There are literally hundreds of tutorials on this site and others that cover this -- and countless forum topics, too.
  12. Technically yes, but why?
  13. Did you change the delimiter?
  14. Then type a where clause -- I don't see the issue.
  15. How much time in seconds? You can compare timestamps.
  16. And next time, don't post code unless you're asked to.
  17. One quick look at the manual for CREATE TABLE will tell you exactly what's going on here.
  18. MySQL will pick the "best" one to use, and it's not always the most desirable. MySQL 5 has index_merge, which will sometime generate a pseudo-index that can use multiple, but again, not always reliable.
  19. Too hypothetical -- post EXPLAIN output.
  20. Just use the "new" order, and you're done -- ignore the existing order.
  21. You likely need to handle this in application code.
  22. Look at mysqldump.
  23. Define "not working" -- and you shouldn't be sending passwords in plaintext.
  24. That's not even close to being true in the general case.
×
×
  • 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.