Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Equivalent of 'IN'

Status
Not open for further replies.

TomSalvato

Technical User
Mar 24, 2010
64
US
Hi All,

I'm writing an SQL Expression field, and I need the Oracle equivalent of the following ...

"TABLE"."WORK_TYPE" in ['1', '10', '12']

* I know I can break it down by a bunch of 'OR' lines, but I figured there should be an 'IN' equivalent that I could use.

Thanx in advance!

-TS




 
Just use parentheses instead of square brackets.

"TABLE"."WORK_TYPE" in ('1', '10', '12')

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top