Mega Code Archive

 
Categories / Oracle PLSQL / PL SQL
 

Define variable

SQL> SQL> -- examine the contents of a variable created using the DEFINE command by typing DEFINE SQL> -- and specifying the variable name: SQL> SQL> DEFINE V_STUDENT_NBR = "1000"; SQL> SQL> DEFINE v_student_nbr; DEFINE V_STUDENT_NBR   = "1000" (CHAR) SQL> SQL> DEFINE V_STUDENT_NBR   = "1000" (CHAR); SQL> SQL>