Reply to Re: BLOB or TEXT or??

Your name:

Reply:


Posted by MaKroZ on 01/26/06 21:25

On Thu, 26 Jan 2006 11:51:19 +0000, jack wrote:

> ...So I'm left with TEXT or
> BLOB which after experimenting works but I'm not sure of any disadvantages
> with either.
> Can I get some feedback as what is recommended for something like this? I've
> read the MySQL site regarding these two fields but it went way over my head!
>
> thanks

BLOB is for binary data, TEXT is for text. Both of them stores data in the
same way. However in searching and sorting MySQL manipulates with TEXT as
it's text data and with BLOB as it's binary. That means 'A'!='a' in
BLOB, but 'A'=='a" in TEXT. Store text in TEXTs and pictures in BLOB.

Character sets are for making TEXT (and chars and varchars) work properly
with international alphabets. It effects text searching and comparing,
sorting in alphabetical order, concatinating and splitting etc.

--
nn My bookmarks:
(oo) http://www.yakutia.org
| | http://www.theisplist.com
|/\| http://www.tenpieces.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация