what does declare do in sql

Solutions on MaxInterview for what does declare do in sql by the best coders in the world

showing results for - "what does declare do in sql"
Jeanne
28 Apr 2017
1-- MySQL
2
3DECLARE variable_name datatype(size) [DEFAULT default_value];
4-- Declaring a variable without specifying a default value will result it
5-- in being a null value.
6-- Declare is what allows us to create a variable