Hi all,
I'm using RPC to call MSSQL stored procedures.
local externa function on transaction object
function long PORADI_DNE(datetime DATUM,ref int SEKVENCE) RPCFUNC ALIAS FOR "dbo.PORADI_DNE"
If there is
raiserror ('Error from procedure',3,1)
in procedure.
I have no Error in SQLCA
sqlca.sqlcode is 0 and no error text.
What I have to do in order to get raised error into PowerBuilder?
Thank you Ales.
P.S. I'm using PB2022 + DBMS "MSOLEDBSQL SQL Server"
https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/database-engine-error-severities?view=sql-server-ver16