[Overview][Types][Classes][Index] | Reference for unit 'SQLTypes' (#fcl)

# TSchemaType

Schema type to retrieve

## Declaration

Source position: sqltypes.pp line 8

`type TSchemaType = (`
`stNoSchema,` |  | No schema
`stTables,` |  | User Tables in database
`stSysTables,` |  | System tables in database
`stProcedures,` |  | Stored procedures in database
`stColumns,` |  | Columns in a table
`stProcedureParams,` |  | Parameters for a stored procedure
`stIndexes,` |  | Indexes for a table
`stPackages,` |  | Packages (for databases that support them)
`stSchemata,` |  | List of schemas in database(s) (for databases that support them)
`stSequences` |  | Sequences (for databases that support them)
`);`

## Description

TSchemaType describes which schema information to retrieve in the TCustomSQLQuery.SetSchemaInfo call. Depending on its value, the result set of the dataset will have different fields, describing the requested schema data. The result data will always have the same structure.

## See also

TCustomSQLQuery.SetSchemaInfo |  | SetSchemaInfo prepares the dataset to retrieve schema info.
Retrieving Schema Information |  | Retrieving Schema Information

Documentation generated on: May 14 2021