-
Trim or compress script in sql
Hi there,
Could somebody tell me the script on how to trim or compress the data to get rid of a space in front of the value in sql language?
Thank you
Last edited by devon59; 11-29-2006 at 09:40 AM.
-
-
-
Try these...
select LTRIM(columnname) from tablename
select TRIM(columnname) from tablename
select LEFTTRIM(columnname) from tablename
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
|
|