Insanely,
Tuesday, October 01, 2002, 6:22:47 PM, you wrote:

IG> When I am doing

IG> show index from db.tablename, the columns I am gettings are -

IG> Table
IG> Non_unique
IG> Key_name
IG> Seq_in_index
IG> Column_name
IG> Collation
IG> Cardinality
IG> Sub_part
IG> Packed
IG> Comment

IG> Which one of these will tell me whether a key is fulltext or not.

Index_type contains this info.

For example

mysql> show index from articles\G
*************************** 1. row ***************************
       Table: articles
  Non_unique: 0
    Key_name: PRIMARY
Seq_in_index: 1
 Column_name: id
   Collation: A
 Cardinality: NULL
    Sub_part: NULL
      Packed: NULL
        Null:
  Index_type: BTREE
     Comment:
*************************** 2. row ***************************
       Table: articles
  Non_unique: 1
    Key_name: title
Seq_in_index: 1
 Column_name: title
   Collation: A
 Cardinality: NULL
    Sub_part: NULL
      Packed: NULL
        Null: YES
  Index_type: FULLTEXT
     Comment:
*************************** 3. row ***************************
       Table: articles
  Non_unique: 1
    Key_name: title
Seq_in_index: 2
 Column_name: body
   Collation: A
 Cardinality: NULL
    Sub_part: 1
      Packed: NULL
        Null: YES
  Index_type: FULLTEXT
     Comment:
3 rows in set (0.00 sec)



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to