Gene Wirchenko (genew (AT) ocis (DOT) net) writes:
Quote:
Erland! You are not doing your part! You were supposed to tell
what I was missing. |
As a matter of fact, I did! I told you were missing the most recent
version of SQL Server, if only in beta. :-)
Quote:
I fight with the language a lot, because it violates the Law of Least
Astonishment so much. |
Sometimes I think that maximising the astonishment has been a prime
design goal of the language.
Quote:
I wish that there was something like #include and #define so I
could define mnemonics for the errors I wish to define. I have
looked, but I did not find anything. |
It is not available in the product as such, but you should be able
to roll your own with help of the preprocessor from C++ if you have
Visual Studio.
As a matter of fact, in the system I spend most of my time with, we
do use a preprocessor. Not the one from C++, but a homebrew. It's
part of my toolset, AbaPerls, which you can find at
http://www.sommarskog.se/AbaPerls/index.html. But you would not
start using AbaPerls only to get a preprocessor.
Quote:
That is good in general, but I have a gotcha. <sigh> I will not
be able to use it for the company that the main app is for. They will
stick with Windows XP for quite some time. SS 2011 will not run on
XP. |
What can I say... The 64-bit support for XP is not very good, and
there are a few things missing. But not much. And I much rather
do my daily chores on XP than on Vista or Win7.
--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx