I am trying to define and initialize a MySQL variable for a query.
I have the following:
declare @countTotal int; SET @countTotal = select COUNT(*) from
According to DECLARE Syntax, declare must be inside a begin...end block.
declare