Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Initialize Variables with Default Values
How To Initialize Variables with Default Values? - Oracle DBA FAQ - Understanding PL/SQL Language Basics
✍: 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;
2007-04-30, 6126👍, 0💬
Popular Posts:
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
How can I execute a PHP script using command line? Just run the PHP CLI (Command Line Interface) pro...
What does static variable mean? There are 3 main uses for static variables: If you declare within a ...
Rachel opened her math book and found that the sum of the facing pages was 245. What pages did she o...
What is AL.EXE and RESGEN.EXE? In the previous question you have seen how we can use resource files ...