MySQL Forums
Forum List  »  Spanish

Datos MySQL REAL, FLOAT, DOUBLE
Posted by: Pepe Martinez
Date: March 17, 2008 05:33PM

Las correspondecias entre datos decimales con mysql y java son:

MySQL----------- Java

FLOAT float
REAL double
DOUBLE double

¿Esto es correcto?
¿Para que existe REAL en MYSQL si al crear un campo REAL te lo almacena como un DOUBLE?

Aunque segun el sql estandar:
SQL estandar----------- Java
REAL float
DOUBLE double

1.Segun MYSQL, REAL es double en java, y segun el estandar es float. ¿Entonces MySQL no respeta el estandar?
2.El dato tipo FLOAT ni siquiera aparece en la ultima tabla.¿porque?

Gracias



Edited 3 time(s). Last edit at 03/17/2008 05:51PM by Pepe Martinez.

Options: ReplyQuote


Subject
Views
Written By
Posted
Datos MySQL REAL, FLOAT, DOUBLE
10792
March 17, 2008 05:33PM


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.