【发布时间】:2013-01-09 17:12:44
【问题描述】:
我想使用以下 sql 代码将具有相同描述的所有产品设置为具有指定类别 id,但是在同一类别下它不会更新具有相同描述的产品。
update catalog_product_entity_text
set value = "the product's name test hah test."
where attribute_id = 66 and
entity_id (select product_id from catalog_category_product
where category_id = 40);
谢谢。
【问题讨论】:
-
您能谈谈所涉及的表吗?例如列名和几行。
-
您没有收到此查询的错误信息吗?
标签: sql magento magento-1.6