Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/03/2009, 16:26
alfil123
 
Fecha de Ingreso: agosto-2005
Mensajes: 722
Antigüedad: 19 años, 6 meses
Puntos: 2
Pregunta consulta sobre ifnull en un select

hola amigos tengo una duda sobre ifnull, encontre en internet que si funciona (almenos eso disen)este codigo
SELECT first_name, IFNULL(first_name,0)
FROM employee


pero en la funcion que tengo no me funciona

SELECT
taccommodationcategory.AccommodationCategoryName,
IFNULL (taccommodationcategory.AccommodationCategoryName, 0)
FROM
taccommodationcategory


el error que muestra es

FUNCTION db_dral.IFNULL does not exist
porfa nose enprimer lugar si ifnull esta bien