Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created April 8, 2020 05:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/64d1f699a8b68b6f7393ce3a029893dc to your computer and use it in GitHub Desktop.
Save parzibyte/64d1f699a8b68b6f7393ce3a029893dc to your computer and use it in GitHub Desktop.
pruebas=# select substring(fecha_registro, 1, 4) as año, nombre from nombres;
ERROR: no existe la función pg_catalog.substring(date, integer, integer)
LÍNEA 1: select substring(fecha_registro, 1, 4) as a¤o, nombre from n...
^
SUGERENCIA: Ninguna función coincide en el nombre y tipos de argumentos. Puede ser necesario agregar conversión explícita de tipos.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment