Are you sure you are using SQLyog's Database Sync Tool (SJA)? SJA does not generate SQL script. Looking at the sample it seems you are using SQLyog's Export As Batch Script… option.
Assuming that you are using Export As Batch Script… option, the error can occur if the target server is running an old version of MySQL. Can you tell me the MySQL version running in your target server?