DBMS_SQL is a powerful PL/SQL package that has been available for a long time. This document demonstrates how to use it and a clever way of using packaged variables.
This is Part 1 of Chapter 3 on PLSQL programming language covering concepts of PL/SQL program data like string, number, date and timestamp data types is detail including implicit conversion concepts and concepts of explicit conversion, efficient selection of data types is programming and useful functions for conversion casting and extraction of date time components.This Slide share is enriched will program codes giving explanation of described concepts practically in depth.
This is Part 1 of Chapter 3 on PLSQL programming language covering concepts of PL/SQL program data like string, number, date and timestamp data types is detail including implicit conversion concepts and concepts of explicit conversion, efficient selection of data types is programming and useful functions for conversion casting and extraction of date time components.This Slide share is enriched will program codes giving explanation of described concepts practically in depth.
Oracle PL/SQL online training | PL/SQL online Trainingsuresh
Oracle PL/SQL Online Training
pl/sql online training,oracle pl/sql online training,pl/sql training,pl/sql training videos,
pl/sql online training in Hyderabad,pl/sql training online,pl/sql online course,
pl/sql training pune,pl/sql interview questions,pl/sql training in Bangalore
PACKAGES, Package Specification and Scope, Create Package Syntax, Declaring Procedures and Functions within a Package, Package Body, Create Package Body Syntax,Example –Package, Example– Package Body, Example – Calling Package Procedure, mResults of Calling Package Procedure, Cursors in Packages , cursor Example – Package Body, Example – Use Cursor Variable
PL/SQL is a standard and portable language for Oracle Database development. If you develop a program that executes on an Oracle Database, you can quickly move it to another compatible Oracle Database without any changes. PL/SQL is an embedded language. PL/SQL only can execute in an Oracle Database.
PL/SQL is a combination of SQL along with the procedural features of programming languages.
It provides specific syntax for this purpose and supports exactly the same datatypes as SQL.
Here is a mock assessment test for the 1Z0-146 certification exam which can be your final warm up game before you appear for the real exam. Questions follow similar pattern but also test your basic understanding on a concept. For answer key – comment on the post with your email id and I shall send across to you the same.
I hope the readers of my book will find the mock paper quite handy while the rest of you will discover the areas to dive in further.
Oracle PL/SQL online training | PL/SQL online Trainingsuresh
Oracle PL/SQL Online Training
pl/sql online training,oracle pl/sql online training,pl/sql training,pl/sql training videos,
pl/sql online training in Hyderabad,pl/sql training online,pl/sql online course,
pl/sql training pune,pl/sql interview questions,pl/sql training in Bangalore
PACKAGES, Package Specification and Scope, Create Package Syntax, Declaring Procedures and Functions within a Package, Package Body, Create Package Body Syntax,Example –Package, Example– Package Body, Example – Calling Package Procedure, mResults of Calling Package Procedure, Cursors in Packages , cursor Example – Package Body, Example – Use Cursor Variable
PL/SQL is a standard and portable language for Oracle Database development. If you develop a program that executes on an Oracle Database, you can quickly move it to another compatible Oracle Database without any changes. PL/SQL is an embedded language. PL/SQL only can execute in an Oracle Database.
PL/SQL is a combination of SQL along with the procedural features of programming languages.
It provides specific syntax for this purpose and supports exactly the same datatypes as SQL.
Here is a mock assessment test for the 1Z0-146 certification exam which can be your final warm up game before you appear for the real exam. Questions follow similar pattern but also test your basic understanding on a concept. For answer key – comment on the post with your email id and I shall send across to you the same.
I hope the readers of my book will find the mock paper quite handy while the rest of you will discover the areas to dive in further.
Deep Dive of ADBMS Migration to Apache Spark—Use Cases SharingDatabricks
eBay has been using enterprise ADBMS for over a decade, and our team is working on batch workload migration from ADBMS to Spark in 2018. There has been so many experiences and lessons we got during the whole migration journey (85% auto + 15% manual migration) - during which we exposed many unexpected issues and gaps between ADBMS and Spark SQL, we made a lot of decisions to fulfill the gaps in practice and contributed many fixes in Spark core in order to unblock ourselves. It will be a really interesting and should be helpful sharing for many folks especially data/software engineers to plan and execute their migration work. And during this session we will share many very specific issues each individually we encountered and how we resolve & work-around with team in real migration processes.
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...Ontico
HighLoad++ 2017
Зал «Кейптаун», 8 ноября, 16:00
Тезисы:
http://www.highload.ru/2017/abstracts/3115.html
During this session we will cover the last development in ProxySQL to support regular expressions (RE2 and PCRE) and how we can use this strong technique in correlation with ProxySQL's query rules to anonymize live data quickly and transparently. We will explain the mechanism and how to generate these rules quickly. We show live demo with all challenges we got from the Community and we finish the session by an interactive brainstorm testing queries from the audience.
Operating a payables shared service organization in oracle cloud oow 2019_v4Mahesh Vallampati
One of the key benefits of Oracle Cloud ERP is the shared services feature of Oracle Payables to different Business Units. This enables centralized processing, control and audit ofthe Payables function. This presentation will talk to such an implementation and how Oracle Cloud enables it.
Ever wondered how you could format the Oracle Standard reports to meet your requirements. No worries. It is easy. Oracle ERP makes it easy with BI Publisher to extend the output of standard reports to flat excel templates so you can do excel based analysis on ERP data. You could even make your format the default output format or output both standard and the extended format. We will use the SubLedger Account Analysis Report and the Fixed Asset Reserve Ledger report as use cases and do a tutorial on how to format the output. This capability improves productivity and empowers the end user to focus on analyzing the data instead of formatting it.
1099 compliance can be quite stressful during the beginning of the year. Oracle Cloud Payables makes it really easy to do 1099 processing. We will discuss the whole lifecycle of 1099 processing from setup to printing the form and mailing it to the supplier and filing the e-file with the IRS. 1099 processing will be the least of your worries on 1099 cloud payables and we will show how. We will discuss 1099 withholding, reporting, making non-AP Adjustments to 1099 amounts using the functionality.
Oracle Cloud ERP enable banking integration much more easily. This can be utilized to achieve productivity and this presentation explains several implementation concepts
The Data Architect role is one of the most misunderstood roles in Information Technology. The role is usually done in parts by several members in IT. DBA's, Application Architects and Developers perform this role in some fashion or the other. But having a single resource or team own this role brings tremendous advantages in standardization, compliance, documentation and performance.
Software development lifecycle (SDLC) has traditionally been used for in-house systems
or custom-developed software. Capability Maturity Model Integration (CMMI) has been
used specifically in software engineering to demonstrate the maturity of an organization's
software development process. Implementations of packaged enterprise software bring a
unique set of challenges that need to be viewed from the different perspectives of SDLC
and CMMI. This presentation demonstrates how ERP managers can articulate their
development and support process within the context of SDLC and CMMI.
A complete sample process flow for Oracle Incentive Compensation for a real world customer. The compensation data was an external source and some customizations were done.
XBRL reporting is becoming a norm rather than an exception for a lot of companies. This document introduces XBRL, how it is enabled and works in 11i and R12 and how it can be viewed. This standardized powerful reporting option is a must-know for all users supporting financial users.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
DBMS_SQL
1. DBMS_SQL Revisited
The DBMS_SQL package supplied by Oracle Corporation is a powerful tool to
evaluate and execute dynamic SQL expressions. The single most important component
of the dbms_sql package is the dbms_sql.parse procedure. In previous releases of the
RDBMS, the parse procedure was limited to 2000 characters. In the latest release of the
RDBMS, this procedure has been overloaded to a table of varchar2, thus setting no limit
on the size of the dynamic SQL. This article will demonstrate the use of this packaged
procedure and in addition will explain a method for executing anonymous PL/SQL blocks
and extracting the result from the block to the calling program.
New Overloaded Procedure dbms_sql.parse:
Description of dbms_sql.parse from Oracle RDBMS 7.3.3.3.0
SQL> desc dbms_sql.parse
PROCEDURE dbms_sql.parse
Argument NameType In/Out Default?
------------------------------ ----------------------- ---------------
C NUMBER(38) IN
STATEMENT VARCHAR2 IN
LANGUAGE_FLAG NUMBER(38) IN
PROCEDURE dbms_sql.parse
Argument Name Type In/Out Default?
------------------------------ ----------------------- ------ --------
C NUMBER(38) IN
STATEMENT TABLE OF VARCHAR2(256) IN
LB NUMBER(38) IN
UB NUMBER(38) IN
LFFLG BOOLEAN IN
LANGUAGE_FLAG NUMBER(38) IN
Fig1: Description of dbms_sql.parse
2. Note that the table of varchar2 is actually a type of dbms_sql.varchar2s which is
defined in dbmssql.sql in $ORACLE_HOME/rdbms/admin as follows:
type varchar2s is table of varchar2(256) index by binary integer;
c is an integer and holds the familiar cursor handle.
LB denotes the lower bound of the PL/SQL table and UB denotes the upper bound of the
PL/SQL table. That is, a PL/SQL table of varchar2(256) could hold many lines of code,
but they can be selectively parsed and executed using these variables. That is one could
specify LB as 3 and UB as 7 and the SQL code in the PL/SQL table from 3 to 7 will be
parsed and executed. Conceptually, the SQL string is put together as follows:
string:=statement(lb) || statement (lb+1) ||…||statement(ub); .
If LFFLG which is a Boolean variable is set to true, then a new line is inserted after each
piece. This is strongly recommended due to the following reason. When building large
chunks of code, a line of PL/SQL code cannot exceed 2000 characters and the PL/SQL
compiler wraps it to accomplish it. The reason this happens is that all database source
code is stored in dba_source view and its underlying table and in the text column of that
table and is limited to 2000 characters.
Now users can build a PL/SQL table and specify the upper and lower boundary of
the table as input arguments to dbms_sql.parse instead of the previous varchar2 thus
surpassing the 2000 characters limitation. This is particularly useful when evaluating
complicated business rules and expressions.
Use of the New version of dbms_sql.parse:
The code that follows demonstrates the usage of the dbms_sql.parse procedure.
Before we demonstrate use of this procedure, we will create a packaged variable and a
function to retrieve that variable. This will be used to demonstrate the use of extracting
the value from an anonymous PL/SQL block using dbms_sql.
3. Create or Replace package myvar as
Pragma restrict_references(myvar,WNDS,WNPS,RNDS, RNPS);
result number;
end myvar;
Fig 2: Source Code for myvar package
A discerning user will notice that the package has been subjected to a Pragma
restrict_reference restriction. This is due to the following reason. A function which
retrieves the value of the variable will otherwise return the familiar ORA-06571 error
which is, “Function %s does not guarantee not to update database”.
Now we will demonstrate the function which will retrieve the value of the
packaged variable.
Create or replace function check_calc
return number is
begin
return myvar.result;
end;
Fig 3: Source Code for the check_calc package.
Note that the function merely reads the myvar.result package variable and returns
it back to the calling program.
In this example we will create a table of varchar2, and create an anonymous
PL/SQL block and declare two variables A and B. We will assign them some arbitrary
values and then pass an expression as an argument to the procedure. This expression
could be any valid PL/SQL expression not exceeding 256 characters. The task of
evaluating expressions greater than 256 characters is left as an exercise to the discerning
reader and just reduces to breaking up a character string greater than 256 characters into
multiple pieces of 256 characters and then appending it to the PL/SQL table.
4. Note that A and B could be assigned values by any valid SQL function which can
be user defined and hence A and B can be assigned dynamically too. This is not done
here for the sake of simplicity. For example, A and B could well be the age and gender of
an individual stored in a database and very well could be as follows:
a:=getage(855855855);
b:=getgender(855855855);
where 855855855 uniquely identifies an individual in a database table.
In fact, even the above two statements could be generated dynamically if the
information is stored in a table. It should also be noted that is these attributes are stored
in a database, once could potentially generate the statements in the anonymous PL/SQL
block. The following piece of code demonstrates the use of the new overloaded version
of dbms_sql.parse.
Note that the anonymous PL/SQL block updates a package variable, which is
available throughout the session. Examples of dbms_sql.parse with the three arguments
abound in Oracle literature and accessing data through define_column procedure and
column_value procedure. The limitation of dbms_sql.parse with three arguments is
already know. Define_column and column_value is fine when one has to access database
data and cursor data respectively. The packaged variable method does not require use of
these procedures and their limitations if any.
Note that even though sqlstring is a table of varchar2(256), it should be casted as
dbms_sql.varchar2s. The following section of code demonstrates the use of the new
dbms_sql.parse and the use of the packaged variable and its associated function which
retrieves it.
The good thing about anonymous PL/SQL blocks is that, they don‟t need to be
wrapped in procedures/functions/packages thus causing DDL issues.
5. create or replace procedure democalc
(
calc_text in varchar2, //* The calculation string for example: “result:=A*B;”
return_result in out number,
retval in out number
)
IS
sqlstring dbms_sql.varchar2s; /* Created to hold the PL/SQL Block */
cursor1 integer;
i, j integer;
new_line_flag BOOLEAN:=TRUE;
BEGIN
sqlstring(1):='declare ';
sqlstring(2):='result number(38,2):=0.0;';
sqlstring(3):='a number(38,2):=2;';
sqlstring(4):='b number(38,2):=3;';
sqlstring(5):='begin';
sqlstring(6):=calc_text;
sqlstring(7):='myvar.result:=result;';
sqlstring(8):='end;';
i=1;
j=8;
cursor1:=dbms_sql.open_cursor;
dbms_sql.parse(cursor1,sqlstring,i,j,new_line_flag,DBMS_SQL.V7);
retval:=dbms_sql.execute(cursor1);
dbms_sql.close_cursor(cursor1);
return_result:=check_calc;
END;
/
6. The following section demonstrates the execution of the democalc procedure.
SQL> set serveroutput on
SQL> declare
temp1 number; temp2 number;
begin
democalc(„result:=A*P;‟, temp1,temp2);
dbms_output.put_line(„The result is „||temp1);
end;
/
The result is 6
SQL>
Conclusions:
The new overloaded version of dbms_sql.parse obviates the previous limit
of the dbms_sql and provides even more flexibility to the developer. A system which
provides a framework to evaluate simple, dynamic PL/SQL expressions and which uses
the above version of dbms_sql.parse is in development at an Oracle client site by Oracle
consulting and is expected to go live soon.
Acknowledgements:
The brilliant idea of using packaged variables to exchange values from
anonymous PL/SQL blocks was suggested by an Oracle Technical manager, Roger Raj.
About the Author:
Mahesh Vallampati is a senior consultant with the Oracle National
Telecom practice, Oracle Corporation. Though he is a DBA by profession, occasionally
he is called on by Oracle customers for his PL/SQL expertise which he dabbles in. He
can be reached at his convenience at mvallamp@us.oracle.com.