I am usnig SQL 2000. I have a SQL table with column name MATERIAL, datatype VARCHAR.
In this column is data which has this format: A00671001
What I would like to do is to remove the first 2 positions, "A0" and the last 3 positions "001" to end up with the root part number "0671".
I would like to then save this new number in the original column MATERIAL, replacing the original part number.
I have no code to post as I do not know where to start.
Any suggestions or ideas will be greatly appreciated. Thank you.
In this column is data which has this format: A00671001
What I would like to do is to remove the first 2 positions, "A0" and the last 3 positions "001" to end up with the root part number "0671".
I would like to then save this new number in the original column MATERIAL, replacing the original part number.
I have no code to post as I do not know where to start.
Any suggestions or ideas will be greatly appreciated. Thank you.