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, 2477🔥, 0💬
Popular Posts:
What Is Program Global Area (PGA) in Oracle? A Program Global Area (PGA) is a memory buffer that is ...
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
How To Create a Table Index in Oracle? If you have a table with a lots of rows, and you know that on...
How To Format Time Zone in +/-hh:mm Format in SQL Server Transact-SQL? From the previous tutorial, y...