Sql Server Function Declare Variable Mysql Command