Created
October 18, 2010 05:03
-
-
Save mineiro/631740 to your computer and use it in GitHub Desktop.
Oracle Gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Create TABLE INDEX with CTXSYS type */ | |
CREATE INDEX index_name ON TABLE(COLUMN) INDEXTYPE IS CTXSYS.CONTEXT; | |
/* Select rows with specific text */ | |
SELECT COLUMN, SCORE(1) FROM TABLE WHERE CONTAINS(COLUMN, 'text', 1) > 0; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment