Datuve :: Forums :: Arhīvs :: Mysql errors

Datuve

Mana Datuve

Reģistrācija | Noteikumi | Paroles atjaunošana



Forums

Ieskaties


Raksti

Lietotāji online

Lietotāji online: 76

Reģistrētie lietotāji online: 0

Viesi online: 76

Datuve.lv video
Top.LV

Mysql errors

Ievietoja: Jackal @ 2006.03.10 20:47  

Uztaisiju datubāzi ar programmu mascon

create table polls
(
id int not null auto_increment
, q varchar (128) not null
, a1 varchar (64) not null
, a2 varchar (64) not null
, a3 varchar (64) not null
primarv key (id)
)

tad kad uzspiezu save table viņš izmet erroru:
1064-you have an error in your sql syntax;check the manual that corresponds to your mysql server version for the right syntax to use near 'primary key (id)'

Birkas: mysql