kofa Posted January 23, 2017 Share Posted January 23, 2017 Chciałbym zmienić dostępną ilość wszystkich produktów na 2 z wyjątkiem tych których wartość wynosi 0. Jak powinno wyglądać polecenie? Presta 1.6 Link to comment Share on other sites More sharing options...
endriu107 Posted January 23, 2017 Share Posted January 23, 2017 Przed wykonaniem zapytania zrób sobie kopie tej tabli i zamień prefix na własciwy. UPDATE PREFIX_stock_available SET quantity = 2 WHERE quantity != 0 Link to comment Share on other sites More sharing options...
kofa Posted January 23, 2017 Author Share Posted January 23, 2017 Przed wykonaniem zapytania zrób sobie kopie tej tabli i zamień prefix na własciwy. UPDATE PREFIX_stock_available SET quantity = 2 WHERE quantity != 0 THX! Działa super. 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