Collections:
Assign Values to Variables in Oracle
How To Assign Values to Variables in Oracle?
✍: FYIcenter.com
You can use assignment statements to assign values to variables. An assignment statement contains an assignment operator ":=", which takes the value specified on the right to the variable on left. The script below show you some examples of assignment statements:
PROCEDURE proc_var_2 AS is_done BOOLEAN; counter NUMBER := 0; message VARCHAR2(80); BEGIN is_done := FASLE; counter := counter + 1; message := 'Hello world!'; END;
⇒ Arithmetic Operations in Pl/SQL in Oracle
⇐ Initialize Variables with Default Values in Oracle
2018-08-06, 3061🔥, 0💬
Popular Posts:
How to calculate the storage size of a JSON (JavaScript Object Notation) value using the JSON_STORAG...
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...
Where to find MySQL database server tutorials? Here is a collection of tutorials, tips and FAQs for ...
How To Start Instance with a Minimal Initialization Parameter File in Oracle? The sample initializat...
How To Convert Numeric Values to Integers in SQL Server Transact-SQL? Sometimes you need to round a ...