> 테이블 자동생성을 하는데 secondary indexes생성은 어떻게하는지 예제좀...
DBE 디렉토리의 localsql.hlp을 참조하세요
아래는 그 내용입니다.
Creates a secondary index.
CREATE [UNIQUE] [ASC | DESC] INDEX index_reference ON table_reference (column_reference [,column_reference...])
Description
Use the CREATE INDEX statement to create a secondary index for an existing table. Index names may not have embedded spaces. Paradox indexes may be based on multiple columns. Due to the distinctive nature of dBASE expression indexes, only single-column indexes can be created with CREATE INDEX.
Use UNIQUE to create an index that raises an error if rows with duplicate column values are inserted. By default, indexes are not unique.
Use ASC (or ASCENDING) to create an index that orders data in an ascending direction (smallest to largest). DESC (or DESCENDING) creates a descending ordering (largest to smallest). When a direction imperative is not specified, ASC is the implied default.
The following statement creates a multi-column (compound) Paradox secondary index.
CREATE INDEX custdate ON "orders.db" (custno, saledate)
The following statement creates a unique dBASE secondary index.
CREATE UNIQUE INDEX namex ON "employee.dbf" (last_name)
The existence of indexes may affect the updatability of queries. See the section on updatable queries for more information.
> 테이블 자동생성을 하는데 secondary indexes생성은 어떻게하는지 예제좀...
DBE 디렉토리의 localsql.hlp을 참조하세요
아래는 그 내용입니다.
Creates a secondary index.
CREATE [UNIQUE] [ASC | DESC] INDEX index_reference ON table_reference (column_reference [,column_reference...])
Description
Use the CREATE INDEX statement to create a secondary index for an existing table. Index names may not have embedded spaces. Paradox indexes may be based on multiple columns. Due to the distinctive nature of dBASE expression indexes, only single-column indexes can be created with CREATE INDEX.
Use UNIQUE to create an index that raises an error if rows with duplicate column values are inserted. By default, indexes are not unique.
Use ASC (or ASCENDING) to create an index that orders data in an ascending direction (smallest to largest). DESC (or DESCENDING) creates a descending ordering (largest to smallest). When a direction imperative is not specified, ASC is the implied default.
The following statement creates a multi-column (compound) Paradox secondary index.
CREATE INDEX custdate ON "orders.db" (custno, saledate)
The following statement creates a unique dBASE secondary index.
CREATE UNIQUE INDEX namex ON "employee.dbf" (last_name)
The existence of indexes may affect the updatability of queries. See the section on updatable queries for more information.