Solved

MySQL

Posted on 2002-05-13
4
228 Views
Last Modified: 2008-03-06
Which mysql field type can I use for text longer than 255 characters ?!
0
Comment
Question by:nfuids
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:lokeshv
ID: 7005858
use TEXT( max 65535 ) or LONGTEXT(max 4294967295)...


according to ur text char sieze..


Hope this helps..

Lk
0
 

Author Comment

by:nfuids
ID: 7005862
I just have to go like


CREATE TABLE tblName (FieldName TEXT(max 65535));

??
0
 
LVL 4

Accepted Solution

by:
lokeshv earned 50 total points
ID: 7005879
just speccify "TEXT" ..

like..


CREATE TABLE tblName (FieldName TEXT);


LK
0
 

Author Comment

by:nfuids
ID: 7005889
thanks a lot
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now