Discussions tagged Stored Procedure
Stored Procedure being fired during PowerServer Build/Deploy
- Resolved
- Issue
- Last updated 2 months ago
- Mark Goldsmith replied 2 months ago
PowerBuilder 2022 R3 Build 3356
SQL Server 2022
We have an application that when a cloud project is being built in PowerServer, it in turn triggers stored procedures that start processes that are a part of the audit/logging process for their billin...
Stored procedure parameter by reference returns 0 instead of null
- Issue
- Last updated 4 months ago
- Erwin Anema replied 4 months ago
Hi all,
While upgrading a legacy application from PB17R3 to PB2022R3 I run into a reproducible issue with calling an MSSQL stored procedure which has an integer output parameter.The issue is that when the proc's output parameter is null, PB17R3 corr...
DECLARE AND EXECUTE Stored Procedures don't work with SQL Server
- Issue
- Last updated 7 months ago
- Chris Pollach @Appeon replied 7 months ago
I have a stored procedure in SQL Server:
CREATE PROCEDURE [GROUP1].[test_return]( @OUTVALUE integer OUT ) AS begin SET @OUTVALUE = 999999; RETURN end
In Powerbuilder, I've set up a DECLARE and EXECUTE statement:
long ll_result
DECLARE te...
Failed to parse the statement sp_set_session_context
- How-to
- Last updated 9 months ago
- Angie Liu@Appeon replied 7 months ago
Hello!I have the problem that I have to call the MS SQL Server stored procedure sp_set_session_context to set a context variable. Unfortunately this does not work with the PowerServer.
The PowerServer always gives me the message
'PowerServer.Api.Se...
Powerserver 2022 using Stored Procedures - Fetch Errors
- Resolved
- How-to
- Last updated 10 months ago
- Jay Hastings replied 10 months ago
I have multiple datawaindows that call Oracle stored procedures. Each one returns only ONE result set.
Within the stored procedure they may use temp tables and/or cursors to loop through the temp tables. Some are defined cursors (CURSOR c1_TempCur...
I have multiple datawindows that call Oracle stored procedures. Each procedure returns only ONE result set. I'm finding in datawindow they do NOT like datatypes of NUMBER or LONG. I've been changing them to Decimal(0) yet I can't really say that's...
Error in PB calling stored procedure
- Issue
- Last updated 1 year ago
- Andreas Mykonios replied 1 year ago
Windows 10 PB Version 6.5.1 Postgres 12psql-ODBC 12.02.01 Connection
Hi,
Error in PB calling stored procedure, The error message is Procedure has already been executed.
I have implemented a minimal use case, see the attachment.
I created the fo...
Using ProcedureInTransaction DBParm in transaction.SQLPreview?
- Advice
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
We're attempting to migrate our large 20+ year old application to PowerServer 2022 R2. We have an ORACLE database, and have a number of RPCs as well as a few datawindows using stored procedure updates. Some of the remote procedures have PRAGMA autono...
Cannot create DataWindow ... Requested result set number 1 not found.
- Resolved
- Issue
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
I have a user who is trying to reference a stored procedure from InfoMaker.
Here are the steps she's taking.
Create a New Tabluar Object.
In Tabular Report Generator, click Stored Procedure, and then click Next.
Choose the s...
Cannot retrieve stored procedure result set #2 in Powerbuilder report
- Issue
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
Hi,
In Powerbuilder 2022, I have a report fetching data from a MS SQL stored procedure returning two result sets. This works fine when connected to a SAP ASE database, but after migrating to MS SQL, it looks like only the first result set from the p...
Modify Datawindow to use Stored procedure for update using code
- Resolved
- How-to
- Last updated 1 year ago
- Jim Nesbitt replied 1 year ago
Hi
I'm converting a Powerbuilder project to Powerserver. Some of the windows use SQLPreview to call stored procedures to update the database.
SQLPreview isn't supported by Powerserver, so I want to modify the datawindow dynamically to use the stor...
We have a datastore using an Oracle Stored Procedure Update. For the insert stored proc, one of the columns is mapped to an output argument, to capture the new transaction sequence ID generated by the stored procedure. Client Server app correctly pop...
Oracle Stored Procedure Retrieving Data
- How-to
- Last updated 1 year ago
- Miguel Leeuwe replied 1 year ago
I've been attempting to utilize an Oracle Stored Procedure in a DataWindow to retrieve data, however upon retrieval I receive the following error.
ORA-06550 - Identifier '{indentifier}' must be declared.
The issue can be created in the DW painter.
...
After upgrading Oracle Database to version 19c - we have an issue, a runtime failure when a stored procedure with an input parameter of a table type or an array is being called from the PBL.
Power Builder: Version 2019 R2 Build 2353
Oracle Database...
PowerServer 2021 - Issues with Oracle StoredProcedure
- Issue
- Last updated 2 years ago
- David Xiong @Appeon replied 2 years ago
Hello everybody,I'm testing my PB Client / Server application (PB2021) compiled with PowerServer2021. The data server is Oracle 12c.
The application makes use of calls to Oracle StoredProcedure (PL/SQL) and in the PowerServer version I have some pro...
Is there a maximum size for output ParamValue arguments from a stored procedure in SnapObjects
- Resolved
- Issue
- Last updated 2 years ago
- Daryl Foster replied 2 years ago
Hi, we've been using SnapObjects for quite a while without too many issues, but today we found that one of our stored procedure calls truncates the output parameter to 4000 characters. Is that configurable in SnapObjects, or is it a hard limit? We a...
Stored Procedure call getting failed
- Issue
- Last updated 3 years ago
- Miguel Leeuwe replied 3 years ago
Hi team,
We have migrated our code from PB11.5 to PB2019. During our initial testing we found our application is getting crashed.
After looking more into it, we found Stored procedure Execute command from PB is making the application to crash.
We ...
PB 2019 Execute MYSQL Stored Procedure
- How-to
- Last updated 3 years ago
- John Fauss replied 3 years ago
can you give me instructions and examples on how Execute MYSQL Stored Procedures on PowerBuilder 2019?
thanks...
Getting Error Details from SelectProcedure?
- Resolved
- Advice
- Last updated 4 years ago
- Daryl Foster replied 4 years ago
Hi, I'm using the SnapObjects SelectProcedure function in a web api and I want to know how to catch an error that occurs in the stored procedure (from a RAISERROR command in the stored procedure.) The SelectProcedure works ok and fills my model with...
Execution of stored procedure from Powerbuilder app stops inexplicably
- Issue
- Last updated 4 years ago
- Tom McManus replied 4 years ago
Our Powerbuilder application executes a stored procedure in Sybase and has been running without problems for a few years. About a month ago the stored procedure began stopping without finishing and did not report any error to the calling application...
- Page :
- 1