TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

Oracle LIKE

Oracle LIKE for beginners and professionals with examples on insert, select, update, delete, table, view, join, key, functions, procedures, indexes, cursor etc.

<< Back to ORACLE

ORACLE LIKE CONDITION

In oracle, like condition is used with select, insert, update, and delete in where clause using wildcard. It allows pattern matching.

Syntax

expression LIKE pattern [ESCAPE 'escape_character' ]

Parameters

expression: name of column.

pattern: patter to be matched in expression. Pattern can be in one of the following:-

Wildcard Explanation
% Used for matching string
_ Used for matching single character

Table 1:

ORACLE LIKE CONDITION

Table 2:

ORACLE LIKE CONDITION

Example 1

Query: select * from table1 where name like 's%'

ORACLE LIKE CONDITION

Example 2

Query: select * from table1 where name like '22___'

ORACLE LIKE CONDITION

Example 3

Query: select * from table1 where name NOT like 's%'

ORACLE LIKE CONDITION
Next TopicMINUS




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf