|
wb_psql_param_info | 'Prepared' SQL Functions | wb_psql_drop_params |
This function sends the parameter value whose index was passed in the param_index parameter to the SQL Server, or this function sends only a part of the parameter value. The direction of this parameter must be IN or INOUT. The parameter value may be sent to the SQL Server only if the prepared SQL statement has not been closed yet (see wb_close).
TRUE if succesful, otherwise FALSE.
Send an IN parameter value to the SQL Server, execute the statement and read the OUT parameter value.
$psql=wb_psql_prepare($connection,"SELECT name INTO ? FROM Person WHERE ID=?"); wb_psql_send_param($psql, 1 /*second parameter*/, 123 /*parameter value*/); wb_psql_execute($psql); echo "name=".wb_psql_get_out_param($psql,0)."\n";
wb_psql_param_info | 'Prepared' SQL Functions | wb_psql_drop_params |