- Russell Harvey
- PowerBuilder
- Wednesday, 29 August 2018 08:19 PM UTC
Hi,
Recently switched from native Sybase driver to ODBC. When a stored procedure is executed, sqlPreview in SQLCA shows "?" (question marks) in place of variable values. (I am connecting to database with DisableBind=1,StaticBind=0 in dbParm.)
Declaration/execution is as follows (all variables have non-null values):
declare updateThis procedure for update_this
@suser_id = :ll_sUserID,
@spid = :ll_spid,
@history_date = :adt_historyDate ;
execute updateThis ;
SQL generated is:
execute update_this @suser_id =? , @spid =? , @history_date =?
This worked perfectly under native driver.
Thanks,
Russell Harvey
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.