Campo mas apropiado para guardar Textos largos en MYSQL?

Iniciado por elganjah7, Octubre 22, 2016, 09:00:31 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Saludos he tenido algunas dificultates a la hora de guardar grandes cantidades de texto, en un campo llamado descripcion.
He probado varchar , mediumtext, longtext, alguien podria decirme cual seria el max apropiado para guardar texto largo. os agradesco.

Según la documentación de MYSQL:

TINYBLOB, TINYTEXT       L + 1 bytes, where L < 2^8    (255 Bytes)
BLOB, TEXT               L + 2 bytes, where L < 2^16   (64 Kibibytes)
MEDIUMBLOB, MEDIUMTEXT   L + 3 bytes, where L < 2^24   (16 Mebibytes)
LONGBLOB, LONGTEXT       L + 4 bytes, where L < 2^32   (4 Gibibytes)

Saludos.



A título informativo comparto también por si estás interesado Tipos de Datos En Oracle;

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login