14

What are the best references for Oracle PL/SQL? I have an excellent knowlege of SQL-92 and of MS-SQL extensions, but now I'm working with Oracle and I'm struggling to find good references for the PL/SQL language.

I am looking for references for the following:

  • Variable
  • Loops
  • Cursor
  • Packages
  • Trigger
  • Stored Procedures
  • Temporary Tables

Thanks so much.

Erich Kitzmueller
  • 36,381
  • 5
  • 80
  • 102
David Waters
  • 11,979
  • 7
  • 41
  • 76

7 Answers7

20

As Klaus says the online documentation is pretty good. Start with the 2-Day Application Developer's Guide. If you're using 11gR2, you'll want to read the most recent version of the PL/SQL Language Reference. Newer Oracle releases have updated versions of the documents.

But if you want to buy a book, then Steven Feuerstein's Oracle PL/SQL Programming is the one.

user272735
  • 10,473
  • 9
  • 65
  • 96
APC
  • 144,005
  • 19
  • 170
  • 281
7

One additional observation. You include temporary tables in a list of PL/SQL features. This is because you are used to the T-SQL way of doing things. In Oracle things are handled differently.

In Oracle we have global temporary tables. These are permanent database objects, like regular tables, but they are defined so that the data is held temporarily - either for the duration of a transaction or a session. The data in a global temporary table is only queryable by the session which populates it.

The point being that temporary tables are discussed in the SQL Reference, not the PL/SQL manual.

APC
  • 144,005
  • 19
  • 170
  • 281
2

This reference is really good.

Klaus Byskov Pedersen
  • 117,245
  • 29
  • 183
  • 222
2

In addition to PL/SQL documentation that others have mentioned, the Oracle Database Concepts Guide is a good reference for finding out how Oracle works, including an overview of package, triggers, tables etc. I have posted a link to the 11.2 version, but you can find the docs for older versions here.

Tony Andrews
  • 129,880
  • 21
  • 220
  • 259
2

I've always found Tech on the Net to be good quick reference

barker
  • 31
  • 3
0

Java2s has a good reference tutorial.

Here is the Oracle section: http://www.java2s.com/Book/Oracle/CatalogOracle.htm

Here is the Oracle PL/SQL reference catalog, easy to navigate: http://www.java2s.com/Code/Oracle/CatalogOracle.htm

Here is the Oracle PL/SQL tutorial section: http://www.java2s.com/Tutorial/Oracle/CatalogOracle.htm

I have the OReilly Book but won't post where I got that link along with Oracle Student workbook which is on Scribd.

And along with the Oracle references and tahiti oracle, this site was a good tutorial site for beginners. http://www.tutorialspoint.com/plsql/index.htm

MeachamRob
  • 363
  • 3
  • 8
  • 19
0

Adding points to accepted answer:

in your procedure. You'll find that Oracle is much better at complex queries involving dozens (yes more then 16) tables -- without any issues whatsoever.

Sree Rama
  • 1,207
  • 12
  • 25