Dynamic Parameters
Dynamic parameters pass information between an application program and TimesTen. TimesTen uses dynamic parameters as placeholders in SQL commands and at runtime replaces the parameters with actual values.
A dynamic parameter name must be preceded by a colon (:
) when used in a SQL command and must conform to the TimesTen rules for basic names. However, unlike identifiers, parameter names can start with any of the following characters:
-
Uppercase letters: A to Z
-
Lowercase letters: a to z
-
Digits: 0 to 9
-
Special characters: # $ @ _
Note:
Instead of using a :DynamicParameter
sequence, the application can use a ?
for each dynamic parameter.
Enhanced ":" style parameter markers have this form:
:parameter [INDICATOR] :indicator
The :
indicator
is considered to be a component of the :
parameter
. It is not counted as a distinct parameter. Do not specify '?' for this style of parameter marker.