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, 3568🔥, 0💬
Popular Posts:
How To Verify a User name with SQLCMD Tool in SQL Server? The quickest way to verify a user name in ...
How To View Data Files in the Current Database in Oracle? If you want to get a list of all tablespac...
What To Do If the StartDB.bat Failed to Start the XE Instance in Oracle? If StartDB.bat failed to st...
How To Get the Definition of a View Out of the SQL Server in SQL Server? If you want get the definit...
How To Escape Special Characters in SQL statements in MySQL? There are a number of special character...