Re: Squeezing spaces out of a string

From: --CELKO-- <joe.celko_at_northface.edu>
Date: 4 Feb 2004 10:37:40 -0800
Message-ID: <a264e7ea.0402041037.9013551_at_posting.google.com>


Assume '<' and '>' do not appear in col_x.

UPDATE Foobar

   SET col_x

This is due to a guy named Carnegie; Steve Kass found it in an old posting. The only problem is that it fails if the the first function call overflows the maximum string length. You might get errors, or truncation depending on your SQL. Received on Wed Feb 04 2004 - 19:37:40 CET

Original text of this message