>
Obviously, SQL Anywhere cannot handle this syntax:
>
>
>DECLARE @Last_Date
>DECLARE @Last_Time >
>
>neither can SQL Server. :)
>
>You need to say DECLARE @Last_Date Date (or whatever data type you want to use)
Ah, you're right. I forgot to adjust for this new backend to define the type at the DECLARE line.
Thanks