Eghtebas, can you make it so the SP runs without having to put the order number in it?
there are over 20,000 rows in there daily.
Background:
We receive a data feed on a daily basis @ 6am. The data feed is uploaded into a table. (example based upon that table). We just found out that the source will make updates to the data feed (this was never a part of the spec). Whenever they make updates to the data of something that was already entered (now with multiple rows) it causes a duplicate billing charge.
We do not have access to the system uploading the data feed into the database, so I need this SP to clean up the data so only the most recent data is valid. We will have to run this SP after the data has been uploaded. :)
there are over 20,000 rows in there daily.
Background:
We receive a data feed on a daily basis @ 6am. The data feed is uploaded into a table. (example based upon that table). We just found out that the source will make updates to the data feed (this was never a part of the spec). Whenever they make updates to the data of something that was already entered (now with multiple rows) it causes a duplicate billing charge.
We do not have access to the system uploading the data feed into the database, so I need this SP to clean up the data so only the most recent data is valid. We will have to run this SP after the data has been uploaded. :)
Fox