Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
Menu
Update Data « PL SQL « Oracle PL / SQL
Oracle PL / SQL
PL SQL
Update Data
1.
UPDATE statement can be used within PL/SQL programs to update a row or a set of rows
2.
Select for update
3.
Check row count being updating
4.
Update with variable
5.
Two UPDATE statements.
6.
Check SQL%ROWCOUNT after updating
7.
Exception handling for update statement
8.
Update salary with stored procedure
9.
Update table and return if success
10.
Decrease salary with user procedure
11.
Change price and output the result
12.
Run an anonymous block that updates the number of book IN STOCK
13.
Run an anonymous block that updates the number of pages for this book
14.
Run the anonymous block to update the position column
15.
Ajust price based on price range
16.
Bundle several update and insert statements into one procedure
17.
Use procedure to update table