Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/08/2008, 10:09
larios_tnt
 
Fecha de Ingreso: febrero-2008
Mensajes: 75
Antigüedad: 16 años, 3 meses
Puntos: 0
Problema con función y RAISE NOTICE

Estoy creando un sistema de ayuda a las funciones que he creado en la BD y ésta es la 1ª función que he creado:

Código:
CREATE FUNCTION ayuda_anadir_cliente () RETURNS void AS'
BEGIN
  RAISE NOTICE 'Los parametros de entrada son: DNI, Nombre, Apellidos, Dirección, Codigo postal, Población, Provincia';
END;
'LANGUAGE 'plpgsql';

Y el error que sale es:
ERROR: syntax error at or near "Los"
LINE 3: RAISE NOTICE 'Los parametros de entrada son: DNI, Nombre, ...
^

********** Error **********

ERROR: syntax error at or near "Los"
Estado SQL:42601
Caracter: 76
Pero por más que leo manuales y reviso el aviso, no consigo averiguar dónde he cometido el fallo garrafal...



SALU2