Amazon RDS Data Service
API Reference (API Version 2018-08-01)

SqlParameter

A parameter used in a SQL statement.

Contents

name

The name of the parameter.

Type: String

Required: No

typeHint

A hint that specifies the correct object type for data type mapping.

Values:

  • DECIMAL - The corresponding String parameter value is sent as an object of DECIMAL type to the database.

  • TIMESTAMP - The corresponding String parameter value is sent as an object of TIMESTAMP type to the database. The accepted format is YYYY-MM-DD HH:MM:SS[.FFF].

  • TIME - The corresponding String parameter value is sent as an object of TIME type to the database. The accepted format is HH:MM:SS[.FFF].

  • DATE - The corresponding String parameter value is sent as an object of DATE type to the database. The accepted format is YYYY-MM-DD.

Type: String

Valid Values: DATE | DECIMAL | TIME | TIMESTAMP

Required: No

value

The value of the parameter.

Type: Field object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: