English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i've understood that it's only some nested select statement

since we say SELECT FETCH

but i did not acually get it why we need them

2006-06-17 23:48:53 · 1 answers · asked by Rami 5 in Computers & Internet Programming & Design

1 answers

If you are talking Oracle PL/SQL they are really useful inside packages.

The cursor basically brings back the data set that you can then use programatically to make changes. The great part about it, is you can pass the cursor to other procedures in the package, and it will be sitting on the same record you last processed.

Since you are actually sitting on the database with those, execution time is immensly faster than bringing the data to your desktop, or even an application server on a 100 mbit connection.

Speed is the big deal. I have stuff that can process half a billion transactions in 30 minutes in PL/SQL. That is why you need them.

2006-06-17 23:57:10 · answer #1 · answered by diogenese19348 6 · 1 0

fedest.com, questions and answers