BEGIN
DECLARE @data_ini Datetime;
DECLARE @data_fim Datetime;
Set @data_ini = '2015-06-18 15:00:00';
Set @data_fim = '2015-06-18 16:00:00';
select * from wifiscan_km77 where (TimeStamp between @data_ini and @data_fim) order by ID_frame asc;
END;
why the error in 1064 END?
what is wrong in these commands?
DECLARE @data_ini Datetime;
DECLARE @data_fim Datetime;
Set @data_ini = '2015-06-18 15:00:00';
Set @data_fim = '2015-06-18 16:00:00';
select * from wifiscan_km77 where (TimeStamp between @data_ini and @data_fim) order by ID_frame asc;
END;
why the error in 1064 END?
what is wrong in these commands?