Use VARIABLE command to define variable : Variable « PL SQL « Oracle PL / SQL
- Oracle PL / SQL
- PL SQL
- Variable
Use VARIABLE command to define variable
SQL>
SQL> -- Typing the VARIABLE command with no arguments provides a list of all
variables created with the
SQL> -- variable command:
SQL>
SQL> VARIABLE my_student NUMBER;
SQL>
SQL> VARIABLE
variable my_student
datatype NUMBER
SQL>
Related examples in the same category