Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » DDL Statements » CREATE TEXT INDEX |
CREATE TEXT INDEX <Name> ON <TableName> (<ColumnName> [COLLATE <CollationName>]) [DESCRIPTION <Description>] [INDEXED WORD LENGTH <WordLength>] [FILTER TYPE COLUMN <ColumnName>] [WORD GENERATOR <WordGeneratorName>] [NO BACKUP FILES]
-- The following statement creates a text index on the -- Notes column in the Customer table. Notice that the collation -- for the Notes column is overridden with the case-insensitive -- ANSI collation. CREATE TEXT INDEX "Notes" ON "Customer" (Notes COLLATE ANSI_CI) INDEXED WORD LENGTH 20 -- The following statement creates a text index on the -- Notes column in the Customer table. In this example, -- however, another column called TextType is used to -- determine the type of text in the Notes column so that -- it can be properly filtered using a text filter. This -- will allow us to store HTML, RTF, and other non-plain -- text in the Notes column and have it be indexed properly. CREATE TEXT INDEX "Notes" ON "Customer" (Notes COLLATE ANSI_CI) INDEXED WORD LENGTH 20 FILTER TYPE COLUMN "TextType"
Deviation | Details |
Extension | This SQL statement is an ElevateDB extension |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |