How can I declare and set a variable in my MYSQL WORKBENCH
in a stored procedure?
It gives a syntax error like unexpected Declare_sym
at the first line with a cross sign.
I am using the following code for it:
Declare StartDate datetime set StartDate = '2013-07-01';