So... I've got a script to alter a procedure which is stored on multiple databases and was wondering what the best way would be to run the script on databases where name like 'xxx%' ?
Script (Or part of it) below:
View attachment spGetEngineDataPerioden med PersonSats temptabell.txt
Is there any way for me to convert this script into a stored procedure? I can then easily run a script to loop through the databases i need.
Script (Or part of it) below:
View attachment spGetEngineDataPerioden med PersonSats temptabell.txt
Is there any way for me to convert this script into a stored procedure? I can then easily run a script to loop through the databases i need.