|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
I am finishing up a chat room that uses a mySQL database. I figured I could stored the messages as TEXT datatypes. However, the TEXT datatype length is 65535 bytes, so I cannt append anymore data after that limit is reached.
Does anyone know if it is possible to change the limit OR possibly a beter way to store the message data? |
|
#2
|
|||
|
|||
|
The following is out of the mysql manual:
BLOB TEXT A BLOB or TEXT column with a maximum length of 65535 (2^16 - 1) characters. See section 7.7.1 Silent column specification changes. MEDIUMBLOB MEDIUMTEXT A BLOB or TEXT column with a maximum length of 16777215 (2^24 - 1) characters. See section 7.7.1 Silent column specification changes. LONGBLOB LONGTEXT A BLOB or TEXT column with a maximum length of 4294967295 (2^32 - 1) characters. See section 7.7.1 Silent column specification changes. ------------------ webpatron.com |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > mySQL TEXT datatype |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|