LNBruno: it is defined as varchar(6),NULL
Crowley16: I was searching for the ones that were entered incorrectly 'SL8' is right 'SL8 ' is not. So I was looking for all the correctly entered ones. in essance the statement did the rtrim for me when i didnt want it to.
select asset_id from asset_oth_bk_depr where b3_depr_mthd_cd = 'SL8' order by asset_id commit
select asset_id from asset_oth_bk_depr where b3_depr_mthd_cd = 'SL8 ' order by asset_id commit
select asset_id from asset_oth_bk_depr where b3_depr_mthd_cd = 'SL8 ' order by asset_id commit
select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.