Is there a way to call sql script from inside of another sql in SQLServer
Database
1
Posts
1
Posters
3
Views
1
Watching
-
What i have is a sql script that builds tables and other objects and what i need is to be able to run other filename.sql scripts in side of the first. For instance in oracle, I make an installer.sql and do this: @createtable.sql @altertable.sql @select.sql @insert.sql @delete.sql etc..... from inside the install.sql so instead of having one really huge sql script i have many smaller ones that all get run from another filename.sql.