licentious radio

February 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
Jan   Mar

   Click here to visit the Radio UserLand website.
   Click to see the XML version of this web page.


"What kind of peace do I mean? What kind of peace do we seek? Not a Pax Americana enforced on the world by American weapons of war. Not the peace of the grave or the security of the slave. I am talking about genuine peace, the kind of peace that makes life on earth worth living, the kind that enables men and nations to grow and to hope and to build a better life for their children - not merely peace for Americans but peace for all men and women - not merely peace in our time but peace for all time." -- JFK
 
Home | Stories | Politics/Humor | Web Usability/Humor | ipaq 3800 Linux | RadioRadio | Typography | About | Contact
Web - Usability - Humor
Friday, February 14, 2003
[5:13:44 PM]     
Man! I just wasted half an hour trying to create a table in MySQL with a TEXT field.

My O'Reilly MySQL & mSQL book has a table on page 98 that makes it look like you give TEXT a character size. Then I glance at the text below, which talked about a performance hit if the contents of the field went over the size you specify. Alas, the text below the table was talking about mSQL, and the table itself appears just to be a lie. Maybe it's out of date.

Anyway....

create table test (item text(500) );

gives you this helpful message:

ERROR 1064: You have an error in your SQL syntax near '(500) )' at line 1

It should be:

create table test (item text);



Copyright © 2003 Licentious Radio.
Last update: 3/7/03; 10:20:00 AM.