SQL does an implied conversion of empty string '' to 0 when comparing to an INT column. An INT column cannot contain an empty string. It can hold an integer value or be NULL. Change your statment to search for NULL values.
SELECT TICKET_ID FROM TICKET WHERE INVOICE IS NULL Terry L. Broadbent - DBA
Computing Links:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.