By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,611 Members | 1,693 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,611 IT Pros & Developers. It's quick & easy.

syntax error when creating text index

P: n/a
Hi all,

I have successfully installed DB2 Net Search Extender.

DB2Ext is up and running, I've run successfully this command:


but when I try to execute this statement:

create index index_name_test123 for text on modules (description)
format xml connect to test1;

I have syntax error - "for" is unexpected.

I know that DB2 Net Search Extender is present because before
installation when I executed this statement:

select * from modules where contains (description, 'sections
("/module/description") "ERS" ') = 1

i received a message: Net Search Extender is not installed or not
configured for this instance

now after executing I receive a message saying that there is no text
index for description

so my question is how to create text index?

thanks in advance
best regards

Mar 11 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.