There is no TRIM(), but there is a RTIM() and a LTRIM():

SELECT foo from bar
WHERE RTRIM(LTRIM(narf)) is like 'blah'

-----Original Message-----
From: James Sleeman [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 04, 2002 9:07 PM
To: CF-Talk
Subject: OT: Trim in SQL


Anybody know if there is a way of doing something like the following
with SQL server

SELECT foo from bar
WHERE TRIM(narf) is like 'blah'

---
James Sleeman

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to