Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. You mean like a JOIN?
  2. Turn on logging, check which user.
  3. INSERT INTO...SELECT WHERE...
  4. Use code tags next time.
  5. If you're referring to a db wrapper class, then must be hundreds.
  6. Best way is to use the mysql commands directly, if you can connect to both with the same user.
  7. And there is no such thing as urgent free help.
  8. I don't follow -- are you saying that mysql is giving you the correct results, but you just want to format to output differently?
  9. I actually despite the omission of the AS for specifying aliases -- too error-prone.
  10. Please don't store formatting the in the DB -- as tempting is it may be.
  11. Then post the solution.
  12. If it's really comma separated, you can cheat with FIND_IN_SET().
  13. And you're NOT aware of the dangers if you're even considering this.
  14. Why?
  15. Replication is built into mysql.
  16. Post your CREATE TABLE syntax.
  17. Are you sure the columns are identical?
  18. There is no ==.
  19. Echo the actual query.
  20. You can't use * and GROUP BY.
  21. That's correct -- you can't use aggregated expressions for user-variables, since they are calculated per-row in the SELECT list. You can always try wrapping the entire thing in "SELECT * FROM (....)" to trick mysql.
  22. You can use user variables to keep counters.
  23. I'm sure i have references to such articles somewhere -- i'll dig around.
  24. Still seems like a long time.
×
×
  • 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.