Enabled Clause
- Last Updated: April 18, 2018
- 1 minute read
- DataDirect Connectors
- JDBC
- Salesforce 6.0
- Documentation
Purpose
The Enabled clause specifies whether the cache is enabled or disabled for use with SQL statements; it is optional.
Syntax
[ENABLED {YES | TRUE |
NO | FALSE}]
where:
YES|TRUE- specifies that the cache is enabled. When a cache is enabled, the driver accesses the cached data for the remote table or view when a query is executed.
NO|FALSE- specifies that the cache is disabled, which means that the driver accesses the data in the remote table or view rather than the cache when a query is executed. The driver does not update the cache when inserts, updates, and deletes are performed on a remote table or view. To use the cache, you must enable it.