The difference between variable and declare defined variables in Oracle

The scope of action is different:
the variable declared with declare acts in the block;
variable is the command to define the variable in sqlplus, and the variable defined by it is valid in a sqlplus connection.

Guess you like

Origin blog.csdn.net/qq_43665244/article/details/108853807