If any table name or column name contains a database reserved word, such as MONTH or YEAR, the session fails with database errors when the Integration Service executes SQL against the database. You can create and maintain a reserved words file,
reswords.txt
, in the
server/bin
directory.
If for any reason you are unable to store the
reswords.txt
in its recommended location, place it outside the INFA_HOME directory. Ensure you specify the absolute path of the
reswords.txt
file in Integration Service properties and restart the Integration Service for the changes to take effect.
When the Integration Service initializes a session, it searches for
reswords.txt
. If the file exists, the Integration Service places quotes around matching reserved words when it executes SQL against the database.
Use the following rules and guidelines when working with reserved words:
The Integration Service searches the reserved words file when it generates SQL to connect to source, target, and lookup databases.
If you override the SQL for a source, target, or lookup, you must enclose any reserved word in quotes.
You may need to enable some databases, such as Microsoft SQL Server and Sybase, to use SQL-92 standards regarding quoted identifiers. Use connection environment SQL to issue the command. For example, use the following command with Microsoft SQL Server: