The ALTER statements cannot be run directly from within SQLScript.
To do that, you need to use dynamic SQL ( EXEC/EXECUTE IMMEDIATE).
The ALTER statements cannot be run directly from within SQLScript.
To do that, you need to use dynamic SQL ( EXEC/EXECUTE IMMEDIATE).