Start of change

VERSION bind option

The VERSION bind option defines the version identifier of the Db2 REST service. The VERSION bind option is only valid after REST service versioning support has been enabled.

Command option Option values Used with
VERSION
  • ( version-id )

Option descriptions for VERSION

VERSION(version-id)
Defines the version identifier of the Db2 REST service. A version identifier is an SQL identifier of up to 64 characters, each of which is one of the following characters: uppercase letters (A–Z), lowercase letters (a–z), numerals (0–9), underscore (_), at sign (@), pound sign (#), and dollar sign ($).

If you do not specify a version, the default version identifier used is determined based on whether REST service versioning support has been enabled or not. If REST service versioning support has been enabled, then "V1" is used as the default, otherwise, the empty string is used.

Default values for VERSION

Process Default value
BIND SERVICE V1 if REST service versioning is enabled; otherwise, an empty string.
End of change