Common Content for Data Engineering
- Common Content for Data Engineering 10.4.0
- All Products
The following table describes the arguments for this command:SQL_LIKE(subject, pattern, escape character)
Argument
| Required/Optional
| Description
|
---|---|---|
subject
| Required
| String data type. Passes the value you want to match against the regular expression. Enclose the value in single quotation marks.
|
pattern
| Required
| String data type. Regular expression that you want to match. Enclose the pattern in single quotation marks.
|
escape character
| Optional
| String data type. The SQL_LIKE function supports the percentage sign (%) and underscore (_) as escape characters. Enclose the escape character in single quotation marks.
|
SQL_LIKE(ENAME, 'A_#%', '#')
ENAME | Value |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|