MySQL "Date" comparisons -


can explain how

where customer_artwork_issued = '0000-00-00' 

can return results such as

2006-10-18 0000-00-00 

why 2006 date show here when doing above query?

it wouldn't. can test with:

select cast('2006-10-18' date) = '0000-00-00'; 

this comparison returns 0. guess have multiple date columns , looking @ wrong one.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -