Collections:
Use IN Conditions in Oracle
How To Use IN Conditions in Oracle?
✍: FYIcenter.com
An IN condition is single value again a list of values. It returns TRUE, if the specified value is in the list. Otherwise, it returns FALSE.
Some examples are given in the script below:
SELECT CASE WHEN 3 IN (1,2,3,5) THEN
'TRUE' ELSE 'FALSE' END FROM DUAL;
TRUE
SELECT CASE WHEN 3 NOT IN (1,2,3,5) THEN
'TRUE' ELSE 'FALSE' END FROM DUAL;
FALSE
SELECT CASE WHEN 'Y' IN ('F','Y','I') THEN
'TRUE' ELSE 'FALSE' END FROM DUAL;
TRUE
⇒ Use LIKE Conditions in Oracle
⇐ Date and Time Differences in Oracle
2020-03-15, 3098🔥, 0💬
Popular Posts:
How to detect the collation coercibility associated to a given character string using the COERCIBILI...
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...
What are binary literals supported in SQL Server Transact-SQL? Binary literals in Transact-SQL are s...
How to obtain the version number of the ICU (International Components for Unicode) library using the...
Where to find answers to frequently asked questions on INSERT, UPDATE and DELETE Statements in MySQL...