'How to modify a stored procedure?

I'm using Tableplus for MacOs, and when trying to save any stored procedure after modifying it, it returns an error like:

Msg: 156, line 1, state: 1, level: 15 Incorrect syntax near the keyword IF

There's not even the keyword IF in the procedure, and the code is correct, since it works, and I can modify and save it properly in SSMS software on a Windows machine.

Any ideas?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source