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


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

Re: Purge Utility

Newsgroups comp.databases.ms-sqlserver
Date 2013-02-21 18:04 -0800
References <695679d9-3eb9-44c8-a7fb-2e60ef2b8373@googlegroups.com> <00d6df61-bf2a-4e17-be9b-3c2b112b118e@googlegroups.com>
Message-ID <f1c42aae-d328-409f-9a97-7aca77a309cc@googlegroups.com> (permalink)
Subject Re: Purge Utility
From rja.carnegie@gmail.com

Show all headers | View raw


On Friday, 22 February 2013 01:38:34 UTC, JAW  wrote:
> My Vparameterdefinition just needed to be increased just needed to be increased and it worked.

I like to construct SQL strings with --X
marking the end, and check that it's still there at 
the point of execution - and to use @{name_of_a_token} 
for expressionss to insert (by REPLACE) in a single string.
This seems to work well on nvarchar(max) - I think -
where some constructions (I'm not sure which ones) 
seem to impose a 4000 or 8000 character limit.

But, putting BEGIN and END around a block is another
way to get the benefit of validation.  Some SQL 
statements, you really don't want to cut short - 
like, DELETE with no parameters erases every file 
on the server.  (It doesn't.)
you 

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


Thread

Purge Utility JAW <jwilliam@aglresources.com> - 2013-02-13 12:44 -0800
  Re: Purge Utility Erland Sommarskog <esquel@sommarskog.se> - 2013-02-13 22:25 +0100
  Re: Purge Utility JAW <jwilliam@aglresources.com> - 2013-02-14 08:10 -0800
    Re: Purge Utility Erland Sommarskog <esquel@sommarskog.se> - 2013-02-14 21:00 +0100
  Re: Purge Utility JAW <jwilliam@aglresources.com> - 2013-02-14 08:22 -0800
  Re: Purge Utility JAW <willjamu@gmail.com> - 2013-02-21 17:38 -0800
    Re: Purge Utility rja.carnegie@gmail.com - 2013-02-21 18:04 -0800

csiph-web