tempo1
Programmer
- Feb 20, 2007
- 118
Hi everyone,
My table contains a 300 width column but i dont want to show that width in my query so i'm looking for
a function to "cut" empty spaces from that column. For example, if my column width was of 10 characters
and contained something like "a", i'd like it to be "a" and not " a".
so i write
apparently there is no "alltrim" function in SQL syntax so i'm looking for something that does the same.
Can anyone show me how ?
Thanks
My table contains a 300 width column but i dont want to show that width in my query so i'm looking for
a function to "cut" empty spaces from that column. For example, if my column width was of 10 characters
and contained something like "a", i'd like it to be "a" and not " a".
so i write
Code:
select alltrim(mycol) from mytable
Can anyone show me how ?
Thanks