Is the following SQL from here still relevant to v1.5.0.2? i.e. can I use this to clean up the products and baskets?
--DELETE PURCHASEORDERS AND ASSOCIATED DATA
BEGIN TRAN
UPDATE uCommerce_PurchaseOrder SET BillingAddressId = NULL
DELETE FROM uCommerce_Shipment
DELETE FROM uCommerce_OrderAddress
DELETE FROM uCommerce_OrderProperty
DELETE FROM uCommerce_OrderLine
DELETE FROM uCommerce_Payment
DELETE FROM uCommerce_OrderStatusAudit
DELETE FROM uCommerce_PurchaseOrder
DELETE FROM uCommerce_Address
DELETE FROM uCommerce_Customer
--COMMIT
Clearing test products and baskets
Hi Søren et al,
Is the following SQL from here still relevant to v1.5.0.2? i.e. can I use this to clean up the products and baskets?
http://www.publicvoid.dk/DeletingPurchaseOrdersAndBasketsFromTheDatabaseInUCommerce.aspx
Many thanks,
Zac
Hi Zac,
It will still work. This one is just for orders though.
Oops, I meant purchase orders not products! Thanks Søren
is working on a reply...