Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. Well, the namespace has to be loaded somewhere to deal with ACID transactions.....
  2. Use YEAR()... or EXTRACT() or DATE_FORMAT().
  3. I've never heard of that. If you're starting again fresh, you can use TRUNCATE to empty the table properly, instead of DELETE.
  4. You can use mysql_result( $result, 0, 0 ) and then you don't need an alias, either.
  5. fenway

    Help

    You have to decide how to build your where clause using php logic.
  6. Yes, just modify the MERGE definition whenever you'd like.
  7. No one knows what that means.
  8. There's a variable called max_allowed_packet... but php also have a max size.
  9. fenway

    Help

    Yeah, that.
  10. fenway

    MySql Syntax

    Not without a HAVING clause.
  11. Could you post the table structures?
  12. Have you been run FLUSH PRIVILEGES?
  13. I assume your text file is UTF08?
  14. Please echo the sql query.
  15. If you GROUP BY, and you want non-aggregate columns, then you'll need to join that table back to itself.
  16. And you don't need DISTINCT, either.
  17. WHY?
  18. fenway

    Help

    What was wrong with: WHERE yourColumn REGEXP '[0-9]%'
  19. I'm saying that it sounds like it would be easier to tweak your existing "script" to handle the new database table.
  20. I agree... TIMESTAMP is evil... who would want to use a field that won't work after 2039?
  21. TIMESTAMP have funny time zone issues.
  22. Stop using DISTINCT and GROUP BY...
  23. If you can dump into CSV, then you can use that file as a DB engine directly in mysql.
  24. I still don't see what that has to do with IPs... by definition, you'll need to connect to the DB with a "common" user, since you can't possibly know the IP in advance.
×
×
  • 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.