skip to main content
Connection property descriptions : UseCurrentSchema
  

Try DataDirect Drivers Now

UseCurrentSchema

Purpose

Specifies whether results are restricted to the tables and views in the current schema if a call is made without specifying a schema or if the schema is specified as the wildcard character %. Restricting results to the tables and views in the current schema improves performance of calls that do not specify a schema.

Valid Values

true | false

Behavior

If set to true, the results that are returned from getTables() and getColumns() methods are restricted to the tables and views in the current schema.
If set to false, the results that are returned from getTables() and getColumns() methods are not restricted.

Data Source Method

setUseCurrentSchema

Default

false

Data Type

Boolean

See also

Performance Considerations