home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,321 of 19,505   
   Erland Sommarskog to Gene Wirchenko   
   Re: SS 2008: Rethrowing User-Defined Err   
   13 May 11 23:27:09   
   
   From: esquel@sommarskog.se   
      
   Gene Wirchenko (genew@ocis.net) writes:   
   >      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. :-)   
      
   > 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.   
      
   >      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.   
      
   >      That is good in general, but I have a gotcha.    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@sommarskog.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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca