archproject Posted January 21, 2011 Share Posted January 21, 2011 hi,i want to extract all my product's default category either from bo or from database cuz i need to check all my products are in the right default categoryhow can i do this? Select statement?? Link to comment Share on other sites More sharing options...
RJGonzalez Posted January 24, 2011 Share Posted January 24, 2011 Best way since you mention database is to go in yout phpMyAdmin and download sql with the following: ps_categoryps_category_groupps_category_langps_category_productps_productps_product_attachmentps_product_attributeps_product_attribute_combinationps_product_attribute_imageps_product_commentps_product_comment_criterionps_product_comment_criterion_productps_product_comment_gradeps_product_downloadps_product_langps_product_saleps_product_tag Just make sure you know what you are doing, and please back up database before start playing with it Link to comment Share on other sites More sharing options...
archproject Posted January 25, 2011 Author Share Posted January 25, 2011 Thanks for the reply RJGonzalez but all I wanted was a select statement to select all my products with it's default category. I know how to do this in oracle but not in mysql something like select product_id, product_name, default_category from products;RegardsArchproject Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now