Collections:
Initialize Variables with Default Values in Oracle
How To Initialize Variables with Default Values in Oracle?
✍: FYIcenter.com
There are two ways to assign default values to variables at the time of declaration:
The script below show you some examples of declaration statements with default values:
PROCEDURE proc_var_1 AS domain VARCHAR2(80) := 'fyicenter.com'; price REAL DEFAULT 999999.99; is_for_sale CHAR := 'N'; BEGIN -- Executable statements END;
⇒ Assign Values to Variables in Oracle
⇐ Declare Local Variables in Oracle
2018-08-06, 3405🔥, 0💬
Popular Posts:
How To Convert Characters to Numbers in Oracle? You can convert characters to numbers by using the T...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...
How to format a number of bytes in a human-readable unit using the FORMAT_BYTES() function? FORMAT_B...
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
How To Format DATETIME Values to Strings with the CONVERT() Function in SQL Server Transact-SQL? SQL...