Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. You'll need to join the max timeslot back to the original table.
  2. There's a strict mode option that prevents silent conversion of engine types -- use it.
  3. You know, MySQL has collation conversions specifically to address this issue.
  4. You can be extra fancy and initialize those variables as a 'join' to the inner query, too.
  5. Not sure what you're asking -- client-side or server-side -- but in any event, it's not directly mysql related (since you obviously queried the table successfully to show the info in the first place).
  6. Maybe syntactically you could convert them -- but that's akin to machine translation -- it's terrible.
  7. Without the data, I'm guessing not all records have matching rows.
  8. Since you don't want to automatically delete anything, you can easily effect what gets displayed by storing some version of the timestamp somewhere.
  9. Well, for starters: SELECT SUBSTRING_INDEX( SUBSTRING_INDEX( post.alltags, ',', 1 ), ',', -1 ) AS tag1 ,SUBSTRING_INDEX( SUBSTRING_INDEX( post.alltags, ',', 2 ), ',', -1 ) AS tag2 ,SUBSTRING_INDEX( SUBSTRING_INDEX( post.alltags, ',', 3 ), ',', -1 ) AS tag3 FROM post
  10. fenway

    Mysql

    Why all of the LIKE %%?
  11. You can put your configuration file *anywhere* -- there's a known order for where to look, though.
  12. http auth is a very quick-and-dirty solution -- but it's not flexible enough.
  13. BIGINT UNSIGNED will get you what you want.
  14. Well, it would require a number of self-joins and some fore-knowledge of the max number of values in the list.
  15. What I think you mean to say is that GROUP BY and * is not working.
  16. Well, you *do* recognize that issuing a query without examining the results will be 'nothing at all'.
  17. Anything you 'feed' invalid e-mail addresses will just complain or log them -- so you can do the rest on input.
  18. You can do all of this in MySQL with a JOIN and INSERT INTO .. SELECT WHERE.
  19. Yeah -- do you really need to keep the state in the DB?
  20. Yeah, FT is mysql is rather limited -- you'll have to mess with internals to trick it into using a hyphen a part of a word. I'd vote for Sphinx, too.
  21. This is a mysql forum -- we don't *ever* need to see a JS function.
×
×
  • 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.