FULLTEXT search index : Index « FullText Search « SQL / MySQL






FULLTEXT search index

    
mysql>
mysql> CREATE TABLE Orders
    -> (
    ->     OrderID SMALLINT UNSIGNED NOT NULL,
    ->     ModelID SMALLINT UNSIGNED NOT NULL,
    ->     ModelName VARCHAR(40),
    ->     PRIMARY KEY (OrderID),
    ->     FULLTEXT (ModelName)
    -> );
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql> drop table orders;
Query OK, 0 rows affected (0.00 sec)

mysql>

   
    
    
    
  








Related examples in the same category

1.Alter table to add a fulltext index
2.Performing Phrase Searches with a FULLTEXT Index
3.Create a fulltext index on the combination of TITLE and SUMMARY.
4.Using fulltext index
5.Creating a Full-Text Index