Hi @amrpk ,
Welcome to Microsoft Q&A!
MySQL is not Microsoft product, and there have some difference between SQL Server and MySQL, suggest that post your question in some other forum, such as MySQL Forums. By the way, if you would like to ask some question about SQL Server T-SQL, please added tag sql-server-transaction-sql.
And I did some research, this similar thread may be help you to resolved this error.
Best regards,
Carrin
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.