Quickies

[categories] [index] [all (527)] [latest]

MySQL
  1. mysql> ALTER TABLE my_table ADD FULLTEXT(my_col);
    

    This doesn't work on InnoDB tables, but only on MyIsam ones.

    SELECT *
    FROM my_table
    WHERE MATCH (my_col)
    AGAINST('my_text');