DECLARE variable_name datatype(size) DEFAULT default_value;
here i want to intialize datatype varchar to default value yes
i tried two methods
first one
DECLARE n_status VARCHAR(10) DEFAULT yes;
second
DECLARE n_status VARCHAR(10);
set n_status=yes;
also
set n_status='yes';
But showing error.
How to correct this
Thanks in Advance