Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #1280

Re: SSE2008 T-SQL: Include Files?

From Gene Wirchenko <genew@ocis.net>
Newsgroups comp.databases.ms-sqlserver
Subject Re: SSE2008 T-SQL: Include Files?
Date 2012-09-11 14:31 -0700
Organization A noiseless patient Spider
Message-ID <sbbv48hdnvjhedki8g4fbvr53e5fqet4lk@4ax.com> (permalink)
References <qurs48dh0k9g74ja4a7q0lpi8gocvgp5p6@4ax.com> <XnsA0CBECDEF8A2AYazorman@127.0.0.1>

Show all headers | View raw


On Tue, 11 Sep 2012 23:17:07 +0200, Erland Sommarskog
<esquel@sommarskog.se> 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

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

SSE2008 T-SQL: Include Files? Gene Wirchenko <genew@ocis.net> - 2012-09-10 16:10 -0700
  Re: SSE2008 T-SQL: Include Files? Erland Sommarskog <esquel@sommarskog.se> - 2012-09-11 23:17 +0200
    Re: SSE2008 T-SQL: Include Files? Gene Wirchenko <genew@ocis.net> - 2012-09-11 14:31 -0700
      Re: SSE2008 T-SQL: Include Files? Erland Sommarskog <esquel@sommarskog.se> - 2012-09-12 23:15 +0200
  Re: SSE2008 T-SQL: Include Files? rja.carnegie@gmail.com - 2012-09-12 14:59 -0700

csiph-web