Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Please help with tricky SQL statement....
I am trying to build a SELECT statement that will select records from an "appointment" table. The appointment table looks like this:
DATE DATE/TIME TEXT VARCHAR2
I need something like:
"SELECT * FROM APPT WHERE #USERID# IN (IDS)" This returns rows that ONLY have the USERID in the APPTIDS field...instead of ones that contain the USERID AND other USERID's.
Thanks for any help!
Shayne
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Tue Feb 24 1998 - 00:00:00 CST
![]() |
![]() |