Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MySQL

Posted on 2002-05-13
4
Medium Priority
?
237 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 200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

972 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