| Trim would be the way to go. I would also look into fixing your data in the data base. You could run run a quick sql statement to fix it. update myTable set id = ltrim(rtrim(id)); That should remove all leading and trailing white space from you column id. I would also suggest trimming the data either before you insert it (in java) or as the sql level. insert into myTable (id,...) values (trim(#id#),...) My 2 cents Nathan On Jan 6, 2006, at 8:17 AM, Voorhoeve, Niels {PBG} wrote:
|
- Re: How to deal with a char column in select statement Nathan Maves
- Re: How to deal with a char column in select statement Larry Meadors
- RE: How to deal with a char column in select statement Michael TALLET
