Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. I don't follow what's desired here.
  2. fenway

    Versioning

    This is a very serious concern -- and in general, a true "rollback" is all but impossible.
  3. Then, solved?
  4. Not even necessary -- you have the ID already!
  5. I don't see any reference to item comments in your query.
  6. You'll need to check the value for Col2 across all rows before you write the CSV.
  7. But wouldn't I have to make a seperate row for each and every relation between product and accessory? Indeed.
  8. Yes there is -- as you check each row in order.
  9. I'm not sure I follow -- just limit your export.
  10. I'm not sure I follow -- if you're issuing the update statement, then you know which fields were changed...?
  11. What's wrong with BETWEEN?
  12. A few user variables should do the trick -- update one whenever Col1 changes, increment the other when it doesn't.
  13. Did the JOIN not work?
  14. That requires joining the table to itself as many times as you has Qs.
  15. It's not that it lacks anything, per se -- just that the default mix on HTML and scripting blurs the line for new programmers, and then they never completely recover.
  16. I'll resist the temptation to argue -- but I agree that the problem is that it's too easy to learn.
  17. The real problem is that PHP is the worst possible language to start with to learn that separation, specifically because it's a glorified template.
  18. Let's not even entertain such an idea. The whole purpose of the separation is to force the OP to decide exactly which aspect is causing the problem -- and this also helps people resist the urge to post entire scripts.
  19. Covers: Part 1: Using the MySQL Improved Extension, mysqli Part 2: Using the MySQL Extension, mysql Part 3: Using the PDO Extension With MySQL Driver, pdo_mysql Part 4: Using the MySQL Native Driver for PHP, mysqlnd Tutorial is here.
  20. Well, a scalar subquery, that is.
  21. Hopefully this presentation will stay online at scribd... it's simply fantastic, probably the best I've come across in recent memory. At 220 slides, it's quite lengthy -- but the lessons learned are invaluable, so be sure to read all the way to the end. A MUST READ!!!! EDIT: This year's version of the presentation -- some really great stuff in here, particuarly about hierarchies.
  22. At the 2008 MySQL Conference and Expo, The Pythian Group gave away EXPLAIN cheatsheets (PDF).
  23. This resource covers a very broad range of topics... it's worth a look, though, especially if you're stumbling in the early stages of configuration.
  24. Basically, this blog contains a regularly-updated run-down of MySQL functions, with a short description and a few hints on how to use them; RSS feed here.
  25. Please read the excellent FAQ thread on this issue by our very own wildteen88.
×
×
  • 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.