Excerpts from Marcos Ortiz's message of mar mar 15 14:07:59 -0300 2011:
>
> Necesito realizar una función que me permita reemplazar un texto en un
> determinado campo text, pero me está dando un error.
>
> -----------
> ERROR: syntax error at or near "SELECT"
> LINE 20: v_local := SELECT regexp_replace(v_template,`arial`,`De...
Quita el SELECT:
v_local := regexp_replace(v_template,`arial`,`De...
Además, las comillas deben ser rectas:
v_local := regexp_replace(v_template,'arial','De...
--
Álvaro Herrera <[email protected]>
-
Enviado a la lista de correo pgsql-es-ayuda ([email protected])
Para cambiar tu suscripci�n:
http://www.postgresql.org/mailpref/pgsql-es-ayuda