Jump to content

fenway

Staff Alumni
  • Posts

    16,168
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fenway

  1. You should be able to CONVERT to an accent insensitive collation, like latin1.
  2. That's correct -- there's no difference whatsoever, the php function is simply a wrapper.
  3. I considered that but I'm more so concerned with "unique groups" as apposed to unique columns. I may just be better off doing this with two different queries, php and a loop. Unless anyone else has any other ideas? This is so simple yet so complex at the same time. Wait, why won't this work? Make the UNIQUE index span both columns... then use INSERT IGNORE.
  4. Or you can work around this during the INSERT stage and make it really easy.
  5. There's a sticky in the child board with details about this error.
  6. That sounds impossible... unless t1 doesn't have the same column types.
  7. Seems ok.
  8. It's dangerous to rely on mysql to return rows in any order with an order by clause: SELECT * FROM ( SELECT * FROM comments LIMIT 38,10 ) ORDER BY id DESC;
  9. Why not just: SELECT @statefieldid:=fieldid FROM `#__comprofiler_fields` WHERE `name`='cb_state';
  10. fenway

    Help!

    What doesn't work now? TLDR.
  11. Why not use the CSV engine?
  12. ENUM is not the same as INT....
  13. Far too little information... what's "data"?
  14. Don't mix the primary key with the index on the url field.
  15. Um... no where clause?
  16. You need to narrow that down... comment out most of the procedure, make sure the definition itself works first.
  17. There's nothing wrong with that... not sure what you mean by doubled -- you're asking for *.
  18. Just remember DISTINCT in **NOT** a function.
  19. Maybe you can explain this "list" in more detail?
  20. Then it's the wrong password.
  21. Yes... one join, one join condition.
  22. EAV tables are your friend.
  23. Nope... what statement?
  24. No, it won't -- that's a cartesian join.
×
×
  • 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.