Java-SQL variable declarations

Description

Use Java-SQL variable declarations to declare variables and stored procedure parameters for datatypes that are Java-SQL classes.

Syntax

java_sql_variable  ::=  @variable_name java_sql_class_name
java_sql_parameter  ::=  @parameter_name java_sql_class_name

Parameters

java_sql_variable

Specifies the syntax of a Java-SQL variable in a SQL stored procedure.

java_sql_parameter

Specifies the syntax of a Java-SQL parameter in a SQL stored procedure.

java_sql_class_name

The name of a Java-SQL class in the current database.

Usage

A java_sql_variable or java_sql_parameter is always associated with the database containing the stored procedure.

See also

Refer to the Reference Manual for more information about variable declarations.