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,744 of 19,505   
   Gene Wirchenko to esquel@sommarskog.se   
   Re: SSE2008 T-SQL: Include Files?   
   11 Sep 12 14:31:30   
   
   From: genew@ocis.net   
      
   On Tue, 11 Sep 2012 23:17:07 +0200, Erland Sommarskog   
    wrote:   
      
   >Gene Wirchenko (genew@ocis.net) writes:   
   >>      Does SQL Server (and especially SSE2008) have the concept of   
   >> include files?   
   >   
   >SQL Server does not have the concept of files. This is a server product.   
   >   
   >You could try SQLCMD mode in SSMS. SQLCMD has ~r to read in a file, but I   
   >would not like to maintain that code. But read about SQLCMD in Books Online.   
   >   
   >>      I find that I am repeating a lot of error handling code and   
   >   
   >I warned you, didn't I?   
      
        About what?   
      
        I need the error handling, and I want it to be fairly easy to be   
   modified across the board.   
      
   Sincerely,   
      
   Gene Wirchenko   
      
   --- 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