Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. What does it do currently?
  2. Unless that's part of the design.
  3. Huh?
  4. Please post the query and EXPLAIN on *this* forum...
  5. Then magic quotes is probably also at play.
  6. I'm still confused... why not just import that table?
  7. Use an IF() to catch this.
  8. Describe both source & target db.
  9. You don't *need* to at all.
  10. You're not connecting as root... as the error message says.
  11. I'm not sure how you mean.
  12. You mean into different tables, thn.
  13. Interesting... and if you switch it to just an index on the e-mail, do you then get index_merge? I'll have to check it on my box later on tonight.
  14. Hmmm..... did you select a DB?
  15. Switch this to a LEFT JION.
  16. But INSERT can have multiple VALUES() clauses....
  17. Post the table structure and EXPLAIN output... I'm looking for index_merge.
  18. First, that's updating, not insert... you can definitely insert multiple at a time
  19. Better yet, echo the actual query.
  20. Which version of MySQL are you using? It won't use the index because it's an OR.
  21. You'll likely need to use a subquery.
  22. Try this: select i.imageFilename from images_table as i inner join network_table as n on ( n.userId = i.userId and n.networkId = 1 ) where i.imageType = 'photograph'
×
×
  • 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.