Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
null 値の場合、null 条件に NVL を使用する検索ページがあります。しかし、1 つのフィールドについては、ワイルドカード検索を行う必要があります。ワイルドカード検索で nvl は可能ですか。NVL(null,%name%)?
この場合、NVL は「サブ関数」としてのみ使用できます。null の結果も取得したい場合は、次のようにします。
SELECT anything FROM your_table WHERE NVL(column_can_be_null, 'substring_you_search_for') LIKE '%substring_you_search_for%'