Jump to content

Recommended Posts

Posted

Hi

 

Does anybody have a batch script I could have a to run a patch on multiple Sims DBs?

We host all our schools on one citrix environment and don't use Solus so can't runt he patch from there.

 

thanks

Posted

I don't have one to hand unfortunately as we do everything via S3 but it can definitely be done using DBUpgrade.

 

Run DBUpgrade from CMD with the /? switch and it will give you all the options etc.

Posted

Thanks

I know I can runt he patches via DBUpgrade (thats what we currently do) I was hopign somebody would have a script ready to run a patch on multiple DBs so save reinventing the wheel :D

Posted
It's like 5 mins work but it depends how clever you want to make it. How often are you adding \ removing databases? TBH, you could just be lazy and write 1 line, then copy and paste it for each database. To make it more clever, use PowerShell, query SQL for a list of databases then do a simple loop. It's worth doing it for yourself to get the skills as they are very useful, especially when your doing things on mass.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...