Returns the type SQL for a constant java.sql.Types.
1 sql.type
<sql.type type='type'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atype | string | Constant with the data type. |
Returns | |
---|---|
Type | Description |
integer | Returns an integer with the Java type. |
Example
Returns tje JAVA type of the type passed as string.
Copy
<xsql-script name='sql_type'> <body> <println> <sql.type type='CHAR' /> </println> </body> </xsql-script>