My VB scripting isn't too good, and I'm trying to create a script for a data transformation in SQL server. The field that I'm transforming contains a combination of number and text. All are 4 characters long, such as 1000, 1100, 5000 etc. Some are 19XX or 11DX.
The script I am trying to create will update another field, so that if the record is a number and is between a certain range (such as >=1000 And <=5000 then the field will be an "M" and if the record is anything else (numeric or text) then the field will be an "N".
Like I said, my scripting is pretty weak, and I'm fighting with the VB scripting users guide. Any help would be appreciated.
Brian
The script I am trying to create will update another field, so that if the record is a number and is between a certain range (such as >=1000 And <=5000 then the field will be an "M" and if the record is anything else (numeric or text) then the field will be an "N".
Like I said, my scripting is pretty weak, and I'm fighting with the VB scripting users guide. Any help would be appreciated.
Brian