I am trying to convert a 9 digit character column to an integer column.
I'm not sure whether the field has spaces or non-numeric characters. I can Ltrim/Rtrim the spaces off either end before converting but if there are spaces or non-numeric characters within I need to make the resulting field NULL.
I would appreciate any Ideas.
Thanks
Rick
I'm not sure whether the field has spaces or non-numeric characters. I can Ltrim/Rtrim the spaces off either end before converting but if there are spaces or non-numeric characters within I need to make the resulting field NULL.
I would appreciate any Ideas.
Thanks
Rick