] SIMILAR TO
Rommel the iCeMAn writes:
> I use the following code to detect alphanumeric strings:
> IF _my_variable SIMILAR TO '^[a-zA-Z0-9]+$' THEN
> // do stuff here
> END IF;
> In pg8.4 this worked perfectly. I upgraded to pg9.0 and it no longer
> work
Rommel the iCeMAn writes:
> I use the following code to detect alphanumeric strings:
> IF _my_variable SIMILAR TO '^[a-zA-Z0-9]+$' THEN
> // do stuff here
> END IF;
> In pg8.4 this worked perfectly. I upgraded to pg9.0 and it no longer
> works. From the release notes it appears that the
Hi guys,
I use the following code to detect alphanumeric strings:
IF _my_variable SIMILAR TO '^[a-zA-Z0-9]+$' THEN
// do stuff here
END IF;
In pg8.4 this worked perfectly. I upgraded to pg9.0 and it no longer
works. From the release notes it appears that the behavior of SIMILAR
TO has ch