more advanced pl sql programing n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
More Advanced PL/SQL Programing PowerPoint Presentation
Download Presentation
More Advanced PL/SQL Programing

Loading in 2 Seconds...

play fullscreen
1 / 9
evan-mills

More Advanced PL/SQL Programing - PowerPoint PPT Presentation

118 Views
Download Presentation
More Advanced PL/SQL Programing
An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. More Advanced PL/SQL Programing

  2. Agenda • Indexes • Not PL/SQL but a RBMS performance enhancement • PL/SQL • Functions • Cursor For Loops

  3. Indexes Table Table Index on Color Impacts on:SELECT? INSERT? UPDATE? DELETE? Database object which provides capability to speed up the search process. Guide to Oracle 10g

  4. Indexes in SQL Guide to Oracle 10g

  5. Why not Index Everything? Every Index makes one of those “index tables” If you have 10 indexes on a table, an INSERT, DELETE or UPDATE needs to write to that table + the 10 index tables. Indexing speeds up reads at the expense of writes. Guide to Oracle 10g

  6. Functions Functions are stored procedures which return a value. Functions are not executed like stored procedures. Instead, they are called from within SQL or PL/SQL. SELECT myfunction() … Guide to Oracle 10g

  7. Functions Guide to Oracle 10g

  8. Cursor For Loops Easier to implement cursors. Simplified – no open, close, fetch or exit conditions! If you need to use a cursor, use these. Guide to Oracle 10g

  9. Questions