Hello, and thanks for your time.

Basically, I am using telnet to create tables/columns, and all is ok, except
I do not know the correct syntax for using blob text.

For example, if I create a table named 'members' with id/name/description
it would look like:

CREATE TABLE movieform (
           ID INT NOT NULL,
           name CHAR(255) NOT NULL,
           description CHAR(255) NOT NULL);

Ok. The last line, creating 'description', I want to create 'CHAR' with
'BLOB'

Is it as easy as replacing it with 'BLOB', and if so, do I leave the (255)
out of it, or add the # of char's to be allowed? I want blob so I can have
a text description over 255 characters, basically. But I don't know the
syntax for blob *when creating a column*, and I don't know if I need to
mention in ()'s, the # of characters, like you do with 'char'

How do I use it?

Thanks

Joel

----- Original Message -----
From: Angela <[EMAIL PROTECTED]>
To: Greg Skouby <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 02, 2001 1:42 PM
Subject: Re: Selecting rows with same data in all fields except one


> Have you tried something like this?
> SELECT * FROM table_name where col1=col2 and col2=col3 and col3=col4 and
> col4!=col5;
>
>
>
> Greg Skouby wrote:
> >
> > Hello,
> >
> > I have a table which consists of 5 columns.
> > There are a large number of rows that have the same values for the
> > first 4 columns and the last column is the only thing that differs.
> > I would like to grab all the rows that have these identical
> > columns so I can store it into one rows with all the different
> > values in the last column of just one row. What would the syntax
> > be to grab all the rows that have identical data in
> > the first 4 columns? I know this is pretty trivial but everthing
> > I try seems to be wrong. Thanks for your help.
> >
> > Greg
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
> --
> Angela Curtis
> Innovative Business Consultants
> http://www.ibc2001.com
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to