sql - UPDATE column where another column LIKE specific string -
i tried figure out how this, no luck, asking help...
i have table named products , need update in column names refresh_time rows "-295" in column named "ref"
i tried
update products set refresh_time = "2014-10-26 08:33:29" products.ref "295-"
no luck..
any highly appreciated.. in advance.
you need wildcard in pattern. , use single quotes.
like '295-%'
Comments
Post a Comment