Collections:
Arithmetic Operations in Pl/SQL in Oracle
What Are the Arithmetic Operations in Oracle?
✍: FYIcenter.com
There are 4 basic arithmetic operations on numeric values as shown in the following sample script:
PROCEDURE proc_arithmetic AS addition NUMBER; subtraction NUMBER; multiplication NUMBER; division NUMBER; BEGIN addition := 7 + 8; subtraction := addition - 7; multiplication := subtraction * 5; division := multiplication / 8; -- division should contain 5 now END;
⇒ Numeric Comparison Operations in Oracle
⇐ Assign Values to Variables in Oracle
2018-08-06, 2302🔥, 0💬
Popular Posts:
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
How to execute statements under given conditions in SQL Server Transact-SQL? How to use IF ... ELSE ...
What Happens If the Imported Table Already Exists in Oracle? If the import process tries to import a...
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...
How to execute statements in loops in SQL Server Transact-SQL? How to use WHILE ... loops? You can u...