Jump to content

[SOLVED] Why wont this query work - should be simple


gevensen

Recommended Posts

omit is an enum

deposit_link is an int(11)

service_date is a date

if I leave off AND `deposit_link` > '0' it works add it it returns zero rows but there should be 5 rows affected

what am i doing wrong?

 

 

UPDATE `sc_income` SET `omit` = '1' WHERE `service_date` < '2009-08-29' AND `deposit_link` > '0'

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.