I am confused when moving on to stored procedures rather than embedded SQL in code
When I googled, I recognized these points
Please tell me how network traffic is connected?
they can reduce network traffic only by returning the necessary data to the client.
; /, , , , . , , ,
SP: ( , ), ... , .
: . SProcs , , EXECUTE SProcs - / .
EXECUTE
, proc, SQL.
- , SQL - .
, /, SQL, .
, ; SQL, , , .
SQL , . LAMP .
procs ...
, :
(, db) , , .
" " . , , .
( , ). - , .
.
, , " plsql," SQL "," ". SQL Pl/Sql :
SQL DDL, DML . Oracle. SQL - SQL . - API, Open Database Connectivity (ODBC) Java Database Connectivity (JDBC).
. :
, Oracle PL/SQL, . , Oracle.
: Pl/sql
pl/sql Oracle, :
DML, db
sql ** SQL
, CURSOR SQL.
Complex dynamic sql processing using the dbms_SQL API in combination with native dynamic SQL ( known fourth method ).
All modular reasons (you already mentioned): 1 Encapsulating calculations 2 To simplify the subqueries used inside the external sql 3 Combine scalar and aggregate values within the same sql 4 Write once, using a lot.
Etc ...