- Paul Dzuba
- PowerBuilder
- Wednesday, 4 October 2017 08:07 PM UTC
Just converted from PowerBuilder 6.5 and the OUTPUT parameter is not working with SQL. I get the following error and any help would be appreciated: SQLSTATE = 42000 Microsoft SQL Native Client Cannot use the OUTPUT option when passing a constant to a stored procedure. DBPARM: TrustedConnection=1,Database='MfgInfo',Provider=SQLNCLI11,DisableBind=0,PBNewSPInvocation='Yes',appname='MfgDisp',host='pmdzuba',Secure=1 CODE: string value long rc declare dynproc procedure for app_option_read @appname = :app_name, @appuser = :app_user, @keyname = :key_name, @valuename = :value_name, @default = :default_value, @value = :value OUTPUT using sqlca; execute dynproc;
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.