tripwater
10-13-2006, 06:55 PM
Hello, if I create a table using a script like
Create table images (
UserID Int UNSIGNED NOT NULL,
ImageID Int UNSIGNED NOT NULL AUTO_INCREMENT,
Name Char(50),
Description Text,
DateModified Datetime,
Active Bool,
Private Bool COMMENT 'This field is used to denote an image that should not be available in the global search engine for photogap',
Type Smallint COMMENT '0 = jpg 1 = gif 2 = bmp 3 = ico 4 = png 5 = psd 6 = flash Others can be added if needed.',
Primary Key (UserID,ImageID)) ENGINE = MyISAM
ROW_FORMAT = Default;
And say I wanted to update the COMMENT on the field 'Type' how would I do it?
Right now that field says COMMENT '0 = jpg 1 = gif 2 = bmp 3 = ico 4 = png 5 = psd 6 = flash Others can be added if needed.'
But I need to change this as things have been reworked and added and these numbers do not match up anymore.
Thanks for any help with this
Create table images (
UserID Int UNSIGNED NOT NULL,
ImageID Int UNSIGNED NOT NULL AUTO_INCREMENT,
Name Char(50),
Description Text,
DateModified Datetime,
Active Bool,
Private Bool COMMENT 'This field is used to denote an image that should not be available in the global search engine for photogap',
Type Smallint COMMENT '0 = jpg 1 = gif 2 = bmp 3 = ico 4 = png 5 = psd 6 = flash Others can be added if needed.',
Primary Key (UserID,ImageID)) ENGINE = MyISAM
ROW_FORMAT = Default;
And say I wanted to update the COMMENT on the field 'Type' how would I do it?
Right now that field says COMMENT '0 = jpg 1 = gif 2 = bmp 3 = ico 4 = png 5 = psd 6 = flash Others can be added if needed.'
But I need to change this as things have been reworked and added and these numbers do not match up anymore.
Thanks for any help with this