Oracle SQL,PL/SQL

Difference between variable and constant?

Written by shohal

Well, This is a short summery of Variable and constant ,I just Written.

Constant

A constant does not change its value and it remains the same forever.

Variable

A variable, on the other hand, changes its value from time to time depending on the equation. Constants are usually represented by numbers. Variables are usually represented by alphabets.

What is pl/sql variable?

A value used in a PL/SQL block that remains changes throughout the program.

What is Constants in pl/sql?

A value used in a PL/SQL block that remains unchanged throughout the program.

About the author

shohal

Leave a Comment