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 Assign Values to Variables
How To Assign Values to Variables? - Oracle DBA FAQ - Understanding PL/SQL Language Basics
✍: 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;
2007-04-30, 5827👍, 0💬
Popular Posts:
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use th...
What's wrong with this initialization? char *p = malloc(10); My compiler is complaining about an ``i...
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
What is the difference between "printf(...)" and "sprintf(...)"? sprintf(...) writes data to the cha...
How can a servlet refresh automatically if some new data has entered the database? You can use a cli...