473,548 Members | 2,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Oracle PL/SQL 9i/10g - Introduction

debasisdas
8,127 Recognized Expert Expert
This Article contains some useful tips in oracle PL/SQL in 9i/10g which the forum members might find useful

Advantages of PL/SQL
=============== ====

1.Support for SQL
2.Support for object-oriented programming
3.Better performance
4.Higher productivity
5.Full portability
6.Tight integration with Oracle
7.Tight security

Types of Blocks in PL/SQL

1.anonymous Block
2.named Block/stored Procedure

Features of PL/SQL

1.block Structure
2.variable And Constants
3.control Structure
4.exception Handling
5.cursor
6.procedure
7.function
8.package
9.trigger
10.user-defined Types

Basic Structure of PL/SQL Block

Expand|Select|Wrap|Line Numbers
  1. DECLARE
  2. <VARIABLE>
  3. <CURSOR>
  4. <EXCEPTION>
  5. ...................
  6. ...................
  7. BEGIN
  8. <EXECUTABLE STATEMENT>
  9. EXCEPTION
  10. <EXCEPTION HANDLER>
  11. END;
  12.  
PL/SQL--Data Types

1.Scalar--------NUMBER,VARCHAR2 ,DATE,BOOLEAN ...etc.
2.Reference-----REF CURSOR
3.Composite-----RECORDTYPE,NEST ED TABLE,VARRYING ARRAY
4.LOB-----------BLOB,CLOB,NCLOB ,BFILE
5.Anchoring-----%TYPE,%ROWTYPE

The following datatypes are also supported for cross-language compatability.

SMALLINT,NATURA L,NATURALN,POSI TIVE,POSITIVEN,
PLS_INTEGER,DEC ,DECIMAL
BINARY_INTEGER, BINARY_FLOAT,BI NARY_DOUBLE
May 10 '07 #1
0 7773

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5206
by: Jan Bols | last post by:
I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for days, but I'm still not able to get it running. I've tried several install instructions that I found on the internet but no luck yet. Here is a short description of what I did so far: 1. I installed the jdk118_v3-glibc-2.1.3.tar in the /usr/local/ dir and made a...
6
3442
by: ViBart | last post by:
Hi, Where can I find free e-books for Oracle Sql Optimalization? Thanks in advance, ViBart
7
4117
by: D | last post by:
I have been working with Oracle as web developer for three years, I have 13 years of database (SQL Server, DB2) experience and I'm getting a masters degree in CS, but don't expect to finish for 2 more years. I can do all the aspects of Oracle I need for my jobn- PL/SQL, performance tuning, backup and recovery, etc. I have not done well on...
1
1515
by: Scott Carter | last post by:
Can anyone point me to an introduction of creating installers with VS.Net? I currently need to create one for a windows service, but I'd also like to find some info about creating installers for other types of apps as well. Thanks. Scott
14
2071
by: Cletis Tout | last post by:
http://www.codeproject.com/cpnet/introtomono1.asp Introduction to Mono - Your first Mono app By Brian Delahunty The first in a series of articles about Mono. This article explains how to install Mono and shows how to compile your first Cross Platform application.
6
3095
by: shaun.mostashari | last post by:
Hello all, I am curious to know if anyone has done a trade study on DB2, SQL Server, and Oracle databases. Basically I am trying to identify which one to chose based on "Ease of implementation", Ease of maintenance", "Pricing" and "Ease of technical support". The criteria I am looking at can be obtained by interviewing people who have worked...
1
1554
by: Xiaoshen Li | last post by:
Dear All, I am relatively new to C(But I have computer science background and know some other programming languages). I am wondering if anyboby can recommend me some C books or websites. I prefer the books with code that can be downloaded from websites. (I like to read those codes and play with it. I found it is a fast way to pick up a...
2
6810
by: Steve Foo | last post by:
I have been posting this question in google group, EE, and Oracle OTN forum and still no cannot find a suitable solution for it. I have contacted Singapore Microsoft support regarding the problem .Unfortunately they are not able to help me and eventually direct me here i'm not 100% sure if this problem is due to ODP.net provider or asp.net...
12
3572
by: Xah Lee | last post by:
Of Interest: Introduction to 3D Graphics Programing http://xahlee.org/3d/index.html Currently, this introduction introduces you to the graphics format of Mathematica, and two Java Applet utilities that allows you to view them with live rotation in a web browser. Also, it includes a introductory tutorial to POV-Ray.
0
7518
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7444
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7711
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7467
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7805
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6039
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5085
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3497
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1054
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.