September 2005
Intermediate to advanced
496 pages
8h 46m
English
If you have a background in Perl, you should be familiar with regular expressions added in version 10g of the Oracle data server. Oracle 10g supports the IEEE POSIX extended regular expressions standard and works with the following data types:
CHAR
VARCHAR2
NCHAR
NVARCHAR
CLOB
NCLOB
See Chapter 10 for more on this topic.
The following POSIX bracket expressions (shown in Table A-1) are available with Oracle 10g Release 2.
Table A-1. POSIX Bracket Expressions
Bracket Expression | Description | Example |
|---|---|---|
[[:alnum:]] | Alphanumeric characters | SELECT REGEXP_SUBSTR(
'3967 S. Bills Dr., Stevens Point, WI
54481', '[[:alnum:]]{4}')
FROM dual; |
[[:alpha:]] | Alphabetic characters | SELECT REGEXP_SUBSTR( ... |
Read now
Unlock full access