I have a table called UPS. I import my flat file into the table weekly and then run the following update.
UPDATE UPS
SET [Invoice Number] = RIGHT([Invoice Number], LEN([Invoice Number]) - 1)
This takes off the very first 0 in every record. My issue is when I import more data into the table and I have to run that update it will take a 0 off every record, including the ones I already ran this update on. Problem…… So is there a way to setup a table were I an import the New records into then run the update and then it will transfer the New Updated Record to the UPS table. So I do not cut and paste into the UPS table. Any help or direction would be great.
Thank You
Joe
UPDATE UPS
SET [Invoice Number] = RIGHT([Invoice Number], LEN([Invoice Number]) - 1)
This takes off the very first 0 in every record. My issue is when I import more data into the table and I have to run that update it will take a 0 off every record, including the ones I already ran this update on. Problem…… So is there a way to setup a table were I an import the New records into then run the update and then it will transfer the New Updated Record to the UPS table. So I do not cut and paste into the UPS table. Any help or direction would be great.
Thank You
Joe