[AccessD] Trim function in SqlServer

Eric Barro ebarro at verizon.net
Tue Apr 24 22:20:09 CDT 2007


SELECT LTRIM(RTRIM(' foo ')) 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits
Sent: Tuesday, April 24, 2007 7:59 PM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Trim function in SqlServer

I know there is an RTRIM() and LTRIM() in SQLServer, but is there one that
trims both ends, like the Access TRIM() function?

I want to do this in a SQLServer view.

John



 




More information about the AccessD mailing list