I am working in a SQL Server 7/2000 environment. I have written a slew of .sql files designed to create tables, indexes, views, triggers, and stored procedures, to essentially recreate the database.
My question is how I can write one executable to execute all those .sql files -- in other words, one file I can execute that will recreate the entire database using my .sql files.
Thank you.
My question is how I can write one executable to execute all those .sql files -- in other words, one file I can execute that will recreate the entire database using my .sql files.
Thank you.