in MS SQL Server Management Studio, I want to read part of my query from a file on my hard disk. How?
File Management 3 Comments »In C programming, for example, you can specify that a #include file contains part of your program, so the C language sees the #include directive and incorporates the content of the file into your program at compile time. I want to do this with MS SQL SMS. I have read-only access on the database, so I can’t store procedures, etc. But I want some kind of modularity so I don’t have to cut-and-paste duplicative code. How can I do this?

















