Returns the names of all the columns of the table passed as parameter in a DB2 database engine; or returns the character *
in the rest.
1 sqlca.allcolumns
<sqlca.allcolumns table='table'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atable | String | Name of the variable of table type. |
Returns | |
---|---|
Type | Description |
String | Names of the separator columns by commas (or '*'). |
Example
Copy
<xsql-script name='sql_type'> <body> <connection name='oracle_erp_lin'> <println>oracle_erp_lin : <sqlca.allcolumns table='gdoc_print' /></println> </connection> <connection name='db2_sample'> <println>db2_sample : <sqlca.allcolumns table='testpcc_t1' /></println> </connection> </body> </xsql-script>