I am doing a project where i need to convert a MS sql Procedure to my sql Procedure. I have fetched the Procedure from Msql server database and tokenised it and stored the token in seperate text file.

now i am trying to convert it in its respective MySQL code. but I am stuck with the logic for replacing if else construct.

Any other suggestion are welcome.

so please help me with your valuable suggestions.

please do reply...
thank you.