Data Archive
- Data Archive 6.4.3
- All Products
POSSTR (char value-expression2, char value-expression1)
|
|
---|---|
|
|
CREATE TABLE string_table (col1 VARCHAR(20)); INSERT INTO string_table VALUES ('solstice'); 1 row affected SELECT POSSTR(col1, 'ice') FROM string_table; 1 row selected 1 ----------- 6
|
|
---|---|
|
|
CREATE TABLE string_table (col1 VARCHAR(20)); INSERT INTO string_table VALUES ('4234.23423'); 1 row affected SELECT POSSTR(col1, '4') FROM string_table; 1 row selected 1 ----------- 8