HomeHome Product Discus... Product Discus...Enhancement Req...Enhancement Req...Delete Category clean up Smith_CategoryProduct tableDelete Category clean up Smith_CategoryProduct table
Previous
 
Next
New Post
4/16/2011 1:58 PM
 

After deleting a category from my store,  I ran:

select * FROM Smith_CategoryProduct where not exists (select *
FROM Smith_Category where Smith_Category.CategoryID =
Smith_CategoryProduct.CategoryID
)

which returned all the products associated with the deleted category, eventually Smith_CategoryProduct will become huge.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...Enhancement Req...Enhancement Req...Delete Category clean up Smith_CategoryProduct tableDelete Category clean up Smith_CategoryProduct table