Hello,
I have written a query that deletes a certain record based on some criteria. It is working great except for one issue.
If say I want to delete 00101 product number. If there is only one occurance of this product number it will be deleted - this is fine, but if there are multiple occurances then all are deleted although I only want to delete one of them.
Is there any thing I can do in a query to stop running the query after 1 deletion or will I have to write some code.
Any assistance would be appreciated.
I have written a query that deletes a certain record based on some criteria. It is working great except for one issue.
If say I want to delete 00101 product number. If there is only one occurance of this product number it will be deleted - this is fine, but if there are multiple occurances then all are deleted although I only want to delete one of them.
Is there any thing I can do in a query to stop running the query after 1 deletion or will I have to write some code.
Any assistance would be appreciated.