List:General Discussion« Previous MessageNext Message »
From:Wayne Cease Date:June 21 1999 2:11pm
Subject:Re: another question...
View as plain text  
mwkohout wrote:
> I am also having trouble creating a table with mySQL...I'm sure it's
> pretty basic, but it has me kind of stumped...
> 
> here's the code:
> 
> mysql> create table mailing_list (
>     ->               email           varchar(100) not null primary key,
>     ->               name            varchar(100)
>     ->       );

Try it like this:

create table mailing_list (
   email           varchar(100) not null,
   name            varchar(100),
   PRIMARY KEY (email)
);


-- 
Wayne Cease
wayne@stripped

Phone: (404) 277-0544
Fax:   (770) 801-1646
Thread
another question...mwkohout21 Jun
  • Re: another question...Wayne Cease21 Jun
  • Re: another question...Robert Andersson21 Jun
  • Re: another question...Vivek Khera21 Jun
  • Re: another question...Paul DuBois21 Jun
    • Re: another question...mwkohout21 Jun
    • Re: another question...Sasha Pachev21 Jun
  • Re: another question...Sasha Pachev21 Jun