Gene Wirchenko
2012-09-10 23:10:59 UTC
Dear SQLers:
Does SQL Server (and especially SSE2008) have the concept of
include files? (I have been unable to find anything, but I could
really use this.) If it does, a pointer to how to use it, please.
I find that I am repeating a lot of error handling code and
because of the limitations of the language (having to execute the
creation and insertion to on a temporary table all in the same SP), I
have to repeat code. I very much doubt that I will never have to
change this code, and when I do, I want it to be changed everywhere I
have written it.
Failing that, I will have to put together a preprocessor. I
would rather not.
Sincerely,
Gene Wirchenko
Does SQL Server (and especially SSE2008) have the concept of
include files? (I have been unable to find anything, but I could
really use this.) If it does, a pointer to how to use it, please.
I find that I am repeating a lot of error handling code and
because of the limitations of the language (having to execute the
creation and insertion to on a temporary table all in the same SP), I
have to repeat code. I very much doubt that I will never have to
change this code, and when I do, I want it to be changed everywhere I
have written it.
Failing that, I will have to put together a preprocessor. I
would rather not.
Sincerely,
Gene Wirchenko