- Vipin Dwivedi
- PowerBuilder
- Wednesday, 27 November 2019 07:34 PM UTC
Hi PB Appoen Folks,
Greeting! and Happy ThanksGiving!
What is the difference if I call the stored procedure using Select statement Vs Declaring and executing the procedure. See below sample example.
select 1 From sp_test(:a);
Vs
DECLARE Test PROCEDURE FOR
sp_test
@as_val= :a
USING SQLCA:
EXECUTE Test;
Close Test ;
Does PB ODBC process it differently? The reason why I am asking is because
Our application is getting crash at runtime at all user machine? We are suspecting the Close Procedure statement is causing this problem so trying to convert them to embedded SQL statement.
Please suggest.
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.