I have few scripts which either creates new objects like SP or view/functions and some which just ALTERS them.
Now how should I create one standard script where my script can work for above work
Example: using CREATE OR ALTER SCRIPT does not work for versions < 2016
How should I write scripts that works from SQL2012 to SQL2019 versions