So we had an encrypted database that puked and killed our whole SQL Server setup. Sucks about our data, but we were smart enough to have our data structures / stored procedures / functions in Git
The problem is they're saved as .sql
files.
Is there anyway we can batch restore our schema from directories full of these files?
I've looked around and I can only find tutorials for restoring from .bak
files or .mdf
's. This isn't the lazy man's way out- I just need to find a solution ASAP. Any advice or resources/ anything at all would be greatly appreciated.
Thanks Interwebs,
Dylan