I need to delete a bunch of manufacturers. Can somebody help with a query to delete them knowing their ID #s?
Need to do the same with a bunch of categories.
I am using 9.3.0.0/9.3.0.0
Thanks a lot!
I need to delete a bunch of manufacturers. Can somebody help with a query to delete them knowing their ID #s?
Need to do the same with a bunch of categories.
I am using 9.3.0.0/9.3.0.0
Thanks a lot!
Last edited by medsupply; 06-10-2013 at 12:24 PM.
This will break the link between the product and the manufacturer
And this will delete the manufacturerCode:DELETE FROM ProductManufacturer WHERE ManufacturerID IN (1,2,3,4....,n)
Or you could do the 'soft delete' which marks them as deleted, but doesn't actually delete the manufacturers from the tableCode:DELETE FROM Manufacturer WHERE ManufacturerID IN (1,2,3,4....,n)
As always, try this on a development database before doing it on your live database, if you are unsure!Code:UPDATE Manufacturer SET Deleted=1 WHERE ManufacturerID IN (1,2,3,4....,n)
http://www.esedirect.co.uk
--------------------------------------------------------------------------
Using MS 9.2.0.0 with the following customisations:
Lightbox/Fancybox enlarged images;
Auto-suggest searchbox;
Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
Failed transactions emailed via trigger;
Custom app to show basket contents when customer online;
Orders pushed through to accounting systems.
All the above without source!
Thanks a lot!