|
-
Dec 7th, 2010, 12:12 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Trim a carriage return from end of string
I need to alter a select statement so that a returned field does not have an unwanted carriage return at the end.
I think the code below would remove all the carriage returns but I only want to remove one if it appears at the very end of the string.
SELECT REPLACE([parameters],Char(10),'') as [parameters]
FROM QUERIES
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|