/
Matches operator with Informix and other Databases

Matches operator with Informix and other Databases


The Informix MATCHES operator is a non-ANSI extension to SQL that has little equivalent support in other RDBMs systems.
Due to this, it is often necessary to replace all instances of the MATCHES operator in your SQL statements.
It is not necessary to address the use of the 4GL MATCHES operator. For example, the following statement will present no problems with database conversion:

IF my_var MATCHES “[yY]” THEN .. END IF

However, the following statement will need to be addressed:

SELECT * FROM customer WHERE fname MATCHES “[pP]*”

Related content

Error codes 200 – 299
Error codes 200 – 299
More like this
Use stored procedures in 4GL
Use stored procedures in 4GL
More like this
Set the DBPATH environment variable
Set the DBPATH environment variable
More like this
Error codes 25000 – 25999
Error codes 25000 – 25999
More like this
Error codes 900 – 999
Error codes 900 – 999
More like this
Error codes 400 – 499
Error codes 400 – 499
More like this