EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB485154: Oracle PL/SQL Syntax for Multiple Statements and Procedure Execution in a Single Parameterized Transaction


Yang Huang

Quality Engineer, Principal • MicroStrategy


This knowledge base article introduces a common method to use transaction Parameterized Query with Oracle PL/SQL.

Execute Multiple Statements Using PL/SQL With Strategy Parameterized Transaction

Transaction FFSQL Report Configuration

ka04W000001It20QAC_0EM4W0000038IHN.png


Strategy SQL Generation
SQL Statements:
BEGIN
INSERT INTO PQTX_CUSTOMER
(CUSTOMER_ID, CUST_LAST_NAME)
values (?, ?);
INSERT INTO PQTX_DATATYPES
(DATE_TYPE)
values (?);
END;
 

Execute Oracle Procedures Using PL/SQL With Strategy Parameterized Transaction

Transaction FFSQL Report Configuration

ka04W000001It20QAC_0EM4W0000038IHO.png


Strategy SQL Generation
SQL Statements:
DECLARE
city_id NUMBER(5,0) := ?;
city_desc NVARCHAR2(50) := ?;
BEGIN
AddToCityList(city_id, city_desc);
END;
 


Comment

0 comments

Details

Knowledge Article

Published:

September 10, 2021

Last Updated:

September 10, 2021