SlideShare a Scribd company logo
Using Oracle Server Features In Forms
http://blog.ebiztechnics.com
Objectives
• Use Oracle server functionalities in forms
• Deal with server-side PL/SQL
• Recognize which PL/SQL8 features are supported in forms
• Handle Oracle server errors
• Perform DDL commands by using the FORMS_DDL built in
subprograms
http://blog.ebiztechnics.com
Oracle Server Features
Useful Oracle server features:
• Declarative constraints
• Stored program units
• Database triggers
• DDL
http://blog.ebiztechnics.com
Dealing with PL/SQL Code
• Where to store PL/SQL code:
– On the Oracle server
– In the attached PL/SQL libraries
– In the form itself
• Where to call PL/SQL code:
– From database triggers
– From forms triggers
• Application partitioning
http://blog.ebiztechnics.com
PL/SQL8 Support in Forms
• Client-side program units cannot support Oracle8i object-related
functionality.
• Stored program units can use PL/SQL8 features.
http://blog.ebiztechnics.com
PL/SQL8 Scalar Types
• NCHAR and NVARCHAR2
• SIGNTYPE
• FLOAT
• NATURALN
• POSITIVEN
• PLS_INTEGER
http://blog.ebiztechnics.com
Unsupported Client-side PL/SQL Features
• Untrusted external procedures
• Object types
• Collection types
• LOB types
• Methods
• Objects as stored procedure parameters
http://blog.ebiztechnics.com
Causes for Oracle Server Errors
Base Table Block
Implicit DML
Trigger/PU
Explicit DML
Stored PU call
Form Oracle Server
Declarative
Constraints
Database
Triggers
Program
Units
http://blog.ebiztechnics.com
Trapping Server Errors
Base table block
On-Error:
DBMS_ERROR_CODE
DBMS_ERROR_TEXT
Explicit DML/PU call
When Others:
SQLCODE
SQLERRM
Constraint
DB trigger
Stored PU
Form Oracle Server
Predefined
message
RAISE_APPLICATION_
ERROR
RAISE_APPLICATION_
ERROR
http://blog.ebiztechnics.com
FORMS_DDL Built-in
• Syntax: FORMS_DDL (statement);
• Parameter must be<=32K
• Can pass PL/SQL block, DML or DDL statement
• Characteristics:
– Unrestricted; valid in Enter Query mode
– Statement must not contain bind-
variable references
http://blog.ebiztechnics.com
FORMS_DDL Built-in
• Characteristics:
– Statement cannot return results directly
– Use FORM_SUCCESS to check
success of statement
• Hints:
– Create SQL Query record group
instead of FORMS_DDL for better performance.
– Call stored program unit instead of FORMS_DDL
http://blog.ebiztechnics.com
FORMS_DDL Example
Example 1: Create a table
FORMS_DDL(‘CREATE TABLE t (x number(5))’);
IF not FORM_SUCCESS THEN
MESSAGE(‘Table creation Failed…’);
END IF;
Example: 2: Execute Procedure with given name:
FORMS_DDL (‘BEGIN ‘ || p_name ||‘; END; ‘);
IF not FORM_SUCCESS THEN
message(DBMS_ERROR_CODE||’ ‘||
DBMS_ERROR_TEXT);
END IF;
http://blog.ebiztechnics.com
Summary
• Identify Oracle server features useful
for Form Builder
• Identify PL/SQL8 supported features
• Write PL/SQL code to trap errors raised
by the Oracle server
– Implicit DML
– Explicit DML or stored program units
• Perform DDL with FORMS_DDL
http://blog.ebiztechnics.com
Ad

Recommended

Oracle Forms : Multiple Forms
Oracle Forms : Multiple Forms
Sekhar Byna
 
Oracle Forms: Messages
Oracle Forms: Messages
Sekhar Byna
 
Oracle Forms: Introduction to multiple Forms
Oracle Forms: Introduction to multiple Forms
Sekhar Byna
 
Oracle Forms : Coding ..
Oracle Forms : Coding ..
Sekhar Byna
 
Oracle Forms: create debug triggers
Oracle Forms: create debug triggers
Sekhar Byna
 
Oracle apps online training
Oracle apps online training
Sekhar Byna
 
Oracle Forms- key triggers
Oracle Forms- key triggers
Sekhar Byna
 
Oracle Forms Creation
Oracle Forms Creation
Sekhar Byna
 
Deploying to cloud hub
Deploying to cloud hub
Son Nguyen
 
Oracle Forms Triggers
Oracle Forms Triggers
Sekhar Byna
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
Sekhar Byna
 
Routing
Routing
Glenn Guden
 
Magento
Magento
adm_exoplatform
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
zeesniper
 
R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17
zeesniper
 
Selenium Installation
Selenium Installation
Sachin-QA
 
Oracle Forms : Reusable Components
Oracle Forms : Reusable Components
Sekhar Byna
 
Oracle Forms: Master Detail form
Oracle Forms: Master Detail form
Sekhar Byna
 
Stop start bi 11g
Stop start bi 11g
Anz Shabi
 
2014 Bucharest Democamp
2014 Bucharest Democamp
DorinCiuca
 
Federico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento Version
Meet Magento Italy
 
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)
Sekhar Byna
 
Oracle Forms: Menu
Oracle Forms: Menu
Sekhar Byna
 
Les15
Les15
Sudharsan S
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
Sekhar Byna
 
0106 debugging
0106 debugging
vkyecc1
 
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different Sources
Sekhar Byna
 
Sap scripts
Sap scripts
Jugul Crasta
 
Oracle PL/SQL online training | PL/SQL online Training
Oracle PL/SQL online training | PL/SQL online Training
suresh
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Chris Muir
 

More Related Content

What's hot (20)

Deploying to cloud hub
Deploying to cloud hub
Son Nguyen
 
Oracle Forms Triggers
Oracle Forms Triggers
Sekhar Byna
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
Sekhar Byna
 
Routing
Routing
Glenn Guden
 
Magento
Magento
adm_exoplatform
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
zeesniper
 
R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17
zeesniper
 
Selenium Installation
Selenium Installation
Sachin-QA
 
Oracle Forms : Reusable Components
Oracle Forms : Reusable Components
Sekhar Byna
 
Oracle Forms: Master Detail form
Oracle Forms: Master Detail form
Sekhar Byna
 
Stop start bi 11g
Stop start bi 11g
Anz Shabi
 
2014 Bucharest Democamp
2014 Bucharest Democamp
DorinCiuca
 
Federico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento Version
Meet Magento Italy
 
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)
Sekhar Byna
 
Oracle Forms: Menu
Oracle Forms: Menu
Sekhar Byna
 
Les15
Les15
Sudharsan S
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
Sekhar Byna
 
0106 debugging
0106 debugging
vkyecc1
 
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different Sources
Sekhar Byna
 
Sap scripts
Sap scripts
Jugul Crasta
 
Deploying to cloud hub
Deploying to cloud hub
Son Nguyen
 
Oracle Forms Triggers
Oracle Forms Triggers
Sekhar Byna
 
Oracle Forms : Transnational Triggers
Oracle Forms : Transnational Triggers
Sekhar Byna
 
R12 d49656 gc10-apps dba 16
R12 d49656 gc10-apps dba 16
zeesniper
 
R12 d49656 gc10-apps dba 17
R12 d49656 gc10-apps dba 17
zeesniper
 
Selenium Installation
Selenium Installation
Sachin-QA
 
Oracle Forms : Reusable Components
Oracle Forms : Reusable Components
Sekhar Byna
 
Oracle Forms: Master Detail form
Oracle Forms: Master Detail form
Sekhar Byna
 
Stop start bi 11g
Stop start bi 11g
Anz Shabi
 
2014 Bucharest Democamp
2014 Bucharest Democamp
DorinCiuca
 
Federico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento Version
Meet Magento Italy
 
Oracle Forms Creation-List of Values (LOV)
Oracle Forms Creation-List of Values (LOV)
Sekhar Byna
 
Oracle Forms: Menu
Oracle Forms: Menu
Sekhar Byna
 
Oracle Forms : Validation Triggers
Oracle Forms : Validation Triggers
Sekhar Byna
 
0106 debugging
0106 debugging
vkyecc1
 
Oracle Forms: Data Blocks on Different Sources
Oracle Forms: Data Blocks on Different Sources
Sekhar Byna
 

Similar to Oracle Forms: Oracle Server features (20)

Oracle PL/SQL online training | PL/SQL online Training
Oracle PL/SQL online training | PL/SQL online Training
suresh
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Chris Muir
 
PL/SQL Fundamentals I
PL/SQL Fundamentals I
Nick Buytaert
 
3963066 pl-sql-notes-only
3963066 pl-sql-notes-only
Ashwin Kumar
 
04 Handling Exceptions
04 Handling Exceptions
rehaniltifat
 
Pl sql student guide v 1
Pl sql student guide v 1
Nexus
 
Les01
Les01
um_adeveloper
 
Pl sql student guide v 4
Pl sql student guide v 4
Nexus
 
This is regarding to introduction of PL SQL
This is regarding to introduction of PL SQL
cm44228
 
Oracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangalore
Suvash Chowdary
 
Oracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangalore
Suvash Chowdary
 
PL_SQL, Trigger, Cursor, Stored procedure ,function
PL_SQL, Trigger, Cursor, Stored procedure ,function
RajendraKankrale1
 
Java full stack1
Java full stack1
pravash sahoo
 
Oracle PLSQL Training in Chennai, Tambaram
Oracle PLSQL Training in Chennai, Tambaram
Radiant Business Solutions
 
Plsql guide 2
Plsql guide 2
Vinay Kumar
 
Oracle_PLSQL.ppt ..
Oracle_PLSQL.ppt ..
RAMIROENRIQUERAMALLO
 
Oracle_PLSQL (1).ppt .
Oracle_PLSQL (1).ppt .
RAMIROENRIQUERAMALLO
 
Oracle Form material
Oracle Form material
Rajesh Ch
 
Les17
Les17
Sudharsan S
 
PL/SQL Interview Questions
PL/SQL Interview Questions
Srinimf-Slides
 
Oracle PL/SQL online training | PL/SQL online Training
Oracle PL/SQL online training | PL/SQL online Training
suresh
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Chris Muir
 
PL/SQL Fundamentals I
PL/SQL Fundamentals I
Nick Buytaert
 
3963066 pl-sql-notes-only
3963066 pl-sql-notes-only
Ashwin Kumar
 
04 Handling Exceptions
04 Handling Exceptions
rehaniltifat
 
Pl sql student guide v 1
Pl sql student guide v 1
Nexus
 
Pl sql student guide v 4
Pl sql student guide v 4
Nexus
 
This is regarding to introduction of PL SQL
This is regarding to introduction of PL SQL
cm44228
 
Oracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangalore
Suvash Chowdary
 
Oracle 11g developer on linux training in bangalore
Oracle 11g developer on linux training in bangalore
Suvash Chowdary
 
PL_SQL, Trigger, Cursor, Stored procedure ,function
PL_SQL, Trigger, Cursor, Stored procedure ,function
RajendraKankrale1
 
Oracle Form material
Oracle Form material
Rajesh Ch
 
PL/SQL Interview Questions
PL/SQL Interview Questions
Srinimf-Slides
 
Ad

More from Sekhar Byna (14)

Oracle Applications R12 architecture
Oracle Applications R12 architecture
Sekhar Byna
 
oracle APPS: Weekly Update
oracle APPS: Weekly Update
Sekhar Byna
 
Oracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto Invoice
Sekhar Byna
 
Oracle Forms : Timers
Oracle Forms : Timers
Sekhar Byna
 
Oracle Forms: Record Groups
Oracle Forms: Record Groups
Sekhar Byna
 
Oracle Forms :Object Features In forms
Oracle Forms :Object Features In forms
Sekhar Byna
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and Canvases
Sekhar Byna
 
Oracle Forms Mouse triggers
Oracle Forms Mouse triggers
Sekhar Byna
 
Oracle Forms : Query Triggers
Oracle Forms : Query Triggers
Sekhar Byna
 
Oracle Forms Triggers
Oracle Forms Triggers
Sekhar Byna
 
Oracle Forms-Canvas types
Oracle Forms-Canvas types
Sekhar Byna
 
Oracle Forms: Non input Items
Oracle Forms: Non input Items
Sekhar Byna
 
Oracle Forms Creation part 3
Oracle Forms Creation part 3
Sekhar Byna
 
Oracle Forms Introduction
Oracle Forms Introduction
Sekhar Byna
 
Oracle Applications R12 architecture
Oracle Applications R12 architecture
Sekhar Byna
 
oracle APPS: Weekly Update
oracle APPS: Weekly Update
Sekhar Byna
 
Oracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto Invoice
Sekhar Byna
 
Oracle Forms : Timers
Oracle Forms : Timers
Sekhar Byna
 
Oracle Forms: Record Groups
Oracle Forms: Record Groups
Sekhar Byna
 
Oracle Forms :Object Features In forms
Oracle Forms :Object Features In forms
Sekhar Byna
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and Canvases
Sekhar Byna
 
Oracle Forms Mouse triggers
Oracle Forms Mouse triggers
Sekhar Byna
 
Oracle Forms : Query Triggers
Oracle Forms : Query Triggers
Sekhar Byna
 
Oracle Forms Triggers
Oracle Forms Triggers
Sekhar Byna
 
Oracle Forms-Canvas types
Oracle Forms-Canvas types
Sekhar Byna
 
Oracle Forms: Non input Items
Oracle Forms: Non input Items
Sekhar Byna
 
Oracle Forms Creation part 3
Oracle Forms Creation part 3
Sekhar Byna
 
Oracle Forms Introduction
Oracle Forms Introduction
Sekhar Byna
 
Ad

Recently uploaded (20)

Sysinfo OST to PST Converter Infographic
Sysinfo OST to PST Converter Infographic
SysInfo Tools
 
Azure AI Foundry: The AI app and agent factory
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
 
IDM Crack with Internet Download Manager 6.42 [Latest 2025]
IDM Crack with Internet Download Manager 6.42 [Latest 2025]
HyperPc soft
 
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
 
Sap basis role in public cloud in s/4hana.pptx
Sap basis role in public cloud in s/4hana.pptx
htmlprogrammer987
 
IObit Driver Booster Pro 12 Crack Latest Version Download
IObit Driver Booster Pro 12 Crack Latest Version Download
pcprocore
 
Heat Treatment Process Automation in India
Heat Treatment Process Automation in India
Reckers Mechatronics
 
Complete WordPress Programming Guidance Book
Complete WordPress Programming Guidance Book
Shabista Imam
 
Key Challenges in Troubleshooting Customer On-Premise Applications
Key Challenges in Troubleshooting Customer On-Premise Applications
Tier1 app
 
arctitecture application system design os dsa
arctitecture application system design os dsa
za241967
 
OpenChain Webinar - AboutCode - Practical Compliance in One Stack – Licensing...
OpenChain Webinar - AboutCode - Practical Compliance in One Stack – Licensing...
Shane Coughlan
 
Digital Transformation: Automating the Placement of Medical Interns
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
 
Introduction to Agile Frameworks for Product Managers.pdf
Introduction to Agile Frameworks for Product Managers.pdf
Ali Vahed
 
Building Geospatial Data Warehouse for GIS by GIS with FME
Building Geospatial Data Warehouse for GIS by GIS with FME
Safe Software
 
Humans vs AI Call Agents - Qcall.ai's Special Report
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
Canva Pro Crack Free Download 2025-FREE LATEST
Canva Pro Crack Free Download 2025-FREE LATEST
grete1122g
 
declaration of Variables and constants.pptx
declaration of Variables and constants.pptx
meemee7378
 
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
 
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
pcprocore
 
Best Software Development at Best Prices
Best Software Development at Best Prices
softechies7
 
Sysinfo OST to PST Converter Infographic
Sysinfo OST to PST Converter Infographic
SysInfo Tools
 
Azure AI Foundry: The AI app and agent factory
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
 
IDM Crack with Internet Download Manager 6.42 [Latest 2025]
IDM Crack with Internet Download Manager 6.42 [Latest 2025]
HyperPc soft
 
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
 
Sap basis role in public cloud in s/4hana.pptx
Sap basis role in public cloud in s/4hana.pptx
htmlprogrammer987
 
IObit Driver Booster Pro 12 Crack Latest Version Download
IObit Driver Booster Pro 12 Crack Latest Version Download
pcprocore
 
Heat Treatment Process Automation in India
Heat Treatment Process Automation in India
Reckers Mechatronics
 
Complete WordPress Programming Guidance Book
Complete WordPress Programming Guidance Book
Shabista Imam
 
Key Challenges in Troubleshooting Customer On-Premise Applications
Key Challenges in Troubleshooting Customer On-Premise Applications
Tier1 app
 
arctitecture application system design os dsa
arctitecture application system design os dsa
za241967
 
OpenChain Webinar - AboutCode - Practical Compliance in One Stack – Licensing...
OpenChain Webinar - AboutCode - Practical Compliance in One Stack – Licensing...
Shane Coughlan
 
Digital Transformation: Automating the Placement of Medical Interns
Digital Transformation: Automating the Placement of Medical Interns
Safe Software
 
Introduction to Agile Frameworks for Product Managers.pdf
Introduction to Agile Frameworks for Product Managers.pdf
Ali Vahed
 
Building Geospatial Data Warehouse for GIS by GIS with FME
Building Geospatial Data Warehouse for GIS by GIS with FME
Safe Software
 
Humans vs AI Call Agents - Qcall.ai's Special Report
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
Canva Pro Crack Free Download 2025-FREE LATEST
Canva Pro Crack Free Download 2025-FREE LATEST
grete1122g
 
declaration of Variables and constants.pptx
declaration of Variables and constants.pptx
meemee7378
 
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
 
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
IDM Crack with Internet Download Manager 6.42 Build 41 [Latest 2025]
pcprocore
 
Best Software Development at Best Prices
Best Software Development at Best Prices
softechies7
 

Oracle Forms: Oracle Server features

  • 1. Using Oracle Server Features In Forms http://blog.ebiztechnics.com
  • 2. Objectives • Use Oracle server functionalities in forms • Deal with server-side PL/SQL • Recognize which PL/SQL8 features are supported in forms • Handle Oracle server errors • Perform DDL commands by using the FORMS_DDL built in subprograms http://blog.ebiztechnics.com
  • 3. Oracle Server Features Useful Oracle server features: • Declarative constraints • Stored program units • Database triggers • DDL http://blog.ebiztechnics.com
  • 4. Dealing with PL/SQL Code • Where to store PL/SQL code: – On the Oracle server – In the attached PL/SQL libraries – In the form itself • Where to call PL/SQL code: – From database triggers – From forms triggers • Application partitioning http://blog.ebiztechnics.com
  • 5. PL/SQL8 Support in Forms • Client-side program units cannot support Oracle8i object-related functionality. • Stored program units can use PL/SQL8 features. http://blog.ebiztechnics.com
  • 6. PL/SQL8 Scalar Types • NCHAR and NVARCHAR2 • SIGNTYPE • FLOAT • NATURALN • POSITIVEN • PLS_INTEGER http://blog.ebiztechnics.com
  • 7. Unsupported Client-side PL/SQL Features • Untrusted external procedures • Object types • Collection types • LOB types • Methods • Objects as stored procedure parameters http://blog.ebiztechnics.com
  • 8. Causes for Oracle Server Errors Base Table Block Implicit DML Trigger/PU Explicit DML Stored PU call Form Oracle Server Declarative Constraints Database Triggers Program Units http://blog.ebiztechnics.com
  • 9. Trapping Server Errors Base table block On-Error: DBMS_ERROR_CODE DBMS_ERROR_TEXT Explicit DML/PU call When Others: SQLCODE SQLERRM Constraint DB trigger Stored PU Form Oracle Server Predefined message RAISE_APPLICATION_ ERROR RAISE_APPLICATION_ ERROR http://blog.ebiztechnics.com
  • 10. FORMS_DDL Built-in • Syntax: FORMS_DDL (statement); • Parameter must be<=32K • Can pass PL/SQL block, DML or DDL statement • Characteristics: – Unrestricted; valid in Enter Query mode – Statement must not contain bind- variable references http://blog.ebiztechnics.com
  • 11. FORMS_DDL Built-in • Characteristics: – Statement cannot return results directly – Use FORM_SUCCESS to check success of statement • Hints: – Create SQL Query record group instead of FORMS_DDL for better performance. – Call stored program unit instead of FORMS_DDL http://blog.ebiztechnics.com
  • 12. FORMS_DDL Example Example 1: Create a table FORMS_DDL(‘CREATE TABLE t (x number(5))’); IF not FORM_SUCCESS THEN MESSAGE(‘Table creation Failed…’); END IF; Example: 2: Execute Procedure with given name: FORMS_DDL (‘BEGIN ‘ || p_name ||‘; END; ‘); IF not FORM_SUCCESS THEN message(DBMS_ERROR_CODE||’ ‘|| DBMS_ERROR_TEXT); END IF; http://blog.ebiztechnics.com
  • 13. Summary • Identify Oracle server features useful for Form Builder • Identify PL/SQL8 supported features • Write PL/SQL code to trap errors raised by the Oracle server – Implicit DML – Explicit DML or stored program units • Perform DDL with FORMS_DDL http://blog.ebiztechnics.com

Editor's Notes

  • #7: Note NCHAR stores fixed-length NLS character data. NVARCHAR2 stores variable length NLS character data. SIGNTYPE lets you restrict an integer variable to the values –1, 0 and 1, Which is useful in programming tri-state logic. FLOAT is a subtype of NUMBER. However, you cannot specify a scale For FLOAT variables. You can specify only a binary precision. NATURALN is like subtype NATURAL but prevents the assignment of NULL. POSITIVEN is like subtype POSITIVE but prevents the assignment of NULL. PLS_INTEGER stores signed integers. Its magnitude range is -2147483647…..2147483647. PLS_INTEGER values requires less Storage than NUMBER values. Also, PLS_INTEGER operations use Machine arithmetic, so they are faster than NUMBER and BINARY_INTEGER Operations, which use library arithmetic.
  • #12: Note Consider using a query record group with a SELECT statement or Calling a stored program unit, instead of executing FORMS_DDL.