Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: two simple questions
gbiltz wrote:
>
> Could someone please be kind enough to explain the difference between PL/SQL
> and SQL PLUS ? And also the definition of " := " ?
Basically,
SQL*Plus is Oracle's version of the SQL language, with some extensions to the standard.
PL/SQL is an Oracle Procedural Programming language, which allows you to create functions, procedures, packages, objects, etc., and has most of the higher-level programming constructs (loops, if/then/else, parameters, return values, etc.) and which is maintained within the database itself.
":=" is the assignment operator (in PL/SQL), equivalent to "=" in the C language (for example). "=" (in PL/SQL) is the equality comparison operator:
X := 1.24; (assign 1.24 to X)
IF X = 1.24 THEN (test whether X equals 1.24)
<do something>
END IF;
Yours,
Geoff Houck
systems hk
hksys_at_teleport.com
http://www.teleport.com/~hksys
Received on Wed Jan 10 2001 - 01:16:56 CST