Starting with DB2 11.1 there is built-in regex support. One of the new function is REGEXP_SUBSTR
and there are some more.
SELECT REGEXP_SUBSTR('hello to you', '.o',1,1)
FROM sysibm.sysdummy1
More Related Contents:
- Difference between LIKE and ~ in Postgres
- DB2 Comma Separated Output by Groups
- REGEX to select nth value from a list, allowing for nulls
- Does DB2 have an “insert or update” statement?
- how to transform comma separated column into multiples rows in db2
- INNER JOIN in UPDATE sql for DB2
- Best equivalent for IsInteger in SQL Server
- How to Split String by Character into Separate Columns in SQL Server
- oracle — Split multiple comma separated values in oracle table to multiple rows
- Pivoting in DB2
- Regular expression in PostgreSQL LIKE clause
- Regular expression to match common SQL syntax?
- Oracle 11g – Check constraint with RegEx
- How to resolve SQL0418N Error
- Perform regex (replace) in an SQL query
- Regular Expression to Match All Comments in a T-SQL Script
- DB2 Query to retrieve all table names for a given schema
- MSSQL Regular expression
- RegEx to Detect SQL Injection
- How to check db2 version
- look back in SQL
- Splitting string into multiple rows in Oracle
- SQL JOIN vs IN performance?
- Microsoft Jet wildcards: asterisk or percentage sign?
- Getting date list in a range in PostgreSQL
- Why is SQL server throwing this error: Cannot insert the value NULL into column ‘id’?
- SQL Server equivalent to MySQL enum data type?
- How to create Temp table with SELECT * INTO tempTable FROM CTE Query
- SQL – How do I get only the numbers after the decimal?
- How to retrieve records for last 30 minutes in MS SQL?