here's my query:
select fname, lname, state, zip, company, contact_phone
from insurance, patient, insure
where state = 'OH' or 'KY'
and company = insurance$company
and id = patient$id
order by lname
here's my error:
Msg 4145, Level 15, State 1, Line 4
An expression of non-boolean type specified in a context where a condition is expected, near 'and'.
the fuck.
select fname, lname, state, zip, company, contact_phone
from insurance, patient, insure
where state = 'OH' or 'KY'
and company = insurance$company
and id = patient$id
order by lname
here's my error:
Msg 4145, Level 15, State 1, Line 4
An expression of non-boolean type specified in a context where a condition is expected, near 'and'.
the fuck.
-This message has been edited by shr00mie on 7/31/2011 5:16:31 AM

