> Ce e gresit mai jos ?
>
> mysql> create table gigi (nme varchar(100) check (nme in
('Gigi','Vasile')));

pune o virgula inainte de check si nu o sa-ti mai apara eroarea, da' n-o
sa
mearga check-ul pt ca:

The FOREIGN KEY, CHECK and REFERENCES clauses don't actually do
anything. The syntax for them is provided only for compatibility,
to make it easier to port code from other SQL servers and to run
aplications that create tables with references.

Sica



Reply via email to