MySQL Forums
Forum List  »  Spanish

Re: Funciones max, sum, min no funcionan en ciertos casos
Posted by: William Chiquito
Date: October 12, 2006 08:51AM

Magnos,

MySQL interpreta "Select max (nro_doc) from ventas;" como que la función "max" es una función definida por el usuario (UDF) mientras que si omites el espacio en blanco ejecuta la función nativa "MAX".

Visita "Tratamiento de palabras reservadas en MySQL" - http://dev.mysql.com/doc/refman/5.0/es/reserved-words.html en el manual de MySQL para mayor detalle.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Funciones max, sum, min no funcionan en ciertos casos
6699
October 12, 2006 08:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.