任何人都可以發現這個東西的語法錯誤?MySQL語法錯誤 - 顯而易見?
UPDATE `inventory`
LEFT JOIN `manufacturers` ON (
`man_id` = `manufacturers`.`id`
)
LEFT JOIN `meta_tags` ON (
`meta_tags`.`page_url` = REPLACE(REPLACE(`manufacturers`.`title`, " ", "_"), "\", "_")
)
SET `inventory`.`tag_ids` = CONCAT_WS("," `tag_ids`, `tag_id`)
WHERE FIND_IN_SET(`tag_id`, `tag_ids`) = 0
錯誤消息:
#1064 - You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server
version for the right syntax to use near
'_")) SET `inventory`.`tag_ids` = CONCAT_WS("," `tag_'
不使用單引號引用的字符串?或者只是在TSQL中? – drdwilcox
在MYSQL中無所謂,我不懂標準/ TSQL –
嗯。很高興知道。謝謝。 – drdwilcox