I'm looking for something that lets me better organize my SQL scripts.
I want to be able to include SQL code from one script into another, similar to how in C++ you can do include foo.c to import the contents of foo.c into your program.
Is that possible with SQL?
(FYI, I'm using SQL Server)