[thelist] MySQL CREATE TABLE - img file??

david at us-lot.org david at us-lot.org
Tue May 14 08:38:06 CDT 2002

On Tue, May 14, 2002 at 11:01:08AM +0100, kristina wrote:
>   What is the syntax to include an img?  I am trying to create a
>   little database which can have an img included with the entry.
> CREATE TABLE courses (
>   photo  ???????
> );

As a photo is a binary file, I suspect you will want to store it in a
BLOB. http://www.mysql.com/doc/B/L/BLOB.html

David Dorward

More information about the thelist mailing list