The ENABLE DATABASE FOR TEXT command enables DB2® Text Search for the current database. This command must be issued successfully before you can create text search indexes on columns in tables within the database.
For execution, the command needs to be prefixed with db2ts at the command line.
The user must have DBADM privilege to execute the ENABLE DATABASE command.
Instance owner must hold DBADM with DATAACCESS authority. The SYSADM no longer holds SECADM nor DBADM privilege in Version 9.7. SECADM must explicitly grant DBADM with DATAACCESS authority to instance owner before running the ENABLE DATABASE command.
Database
>>-ENABLE DATABASE FOR TEXT-------------------------------------> >--+---------------------------------------+------------------->< '-| AUTOGRANT |--| connection options |-' connection options |--+----------------------------------------------------------------+--| '-CONNECT TO--database-name--+---------------------------------+-' '-USER--username--USING--password-'
The tables are created in the default table space (IBMDEFAULTGROUP) of the database.
Changes to the file system on the DB2 server: None.