Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. I would allow for storage for most of the fields, no need to cut it close for a few bytes -- otherwise you'll have to deal with truncation issues/warnings. As for the images, you should store in on the file system, and record a relative path in the db.
  2. Overhead in the result of "holes" from deleting records. As for your inserts, they can't just fail and not report and error... unless you're not checking.
  3. fenway

    help ....

    That error message doesn't help... is this your server, or on a host?
  4. 80 fields of customer information?
  5. And you can drop that index of "x".
  6. The first code that I gave you works when I tested it... what version are you using?
  7. DUMPFILE? shouldn't it be OUTFILE?
  8. Only for US users? What's imagefile?
  9. It's still a poor choice.
  10. Just get another bunch of programmers / developers to try and break it... as for the small stuff, that will come up no matter how many times you test it.
  11. You can't -- that is, you shouldn't.
  12. Filesort?
  13. Yes, but it's a parallel and stateless version. I think you should investigate the source of the crashes... maybe a particular table, etc.?
  14. I'd lke to see an EXPLAIN, too.
  15. Apparently, I've never used this function for this purpose in this language... it always takes a length, so SUBSTRING( post FROM LOCATE('http://',post) FOR ( LOCATE(' ',post, LOCATE('http://',post)- LOCATE('http://',post) ) ) -1) AS url Should work.
  16. It's just like any other select, example you store the result set in a file.
  17. Well, you'll have to store it somewhere...
  18. And what would your fields represent/
  19. Perhaps you're using the wrong syntax -- you might be using the second value as the length of the string to return, not the index.
  20. fenway

    help ....

    You need to start the server without grants.
  21. Have you check out maatkit? They have some live backup tools...
  22. I guess you could run an SP that populates a summary table... this is similar to what you have done with serializing magic.
  23. You don't need HAVING ... you need WHERE t.staffID IS NULL.
  24. That's no really possible... post the value of "post" in your example.
  25. But if you limit by MONTH(), you won't get the other months automatically!
×
×
  • 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.