Key Violation

admin

Administrator
Staff member
I created that table:


CREATE TABLE DatoFinanciero (
id_financiero int(4) not null auto_increment,
primary key (id_financiero),
id_empresa_cliente int(4) NOT NULL REFERENCES Empresa_Cliente
(id_empresa_cliente),
nombre varchar(60) NULL,
...
comentarios text NULL
);

If I introduce a query:

"
insert into DatoFinanciero value ('','1542454','Tropedo
S.L.'...'46588888888888888888');
"

Result:

Key violation
Colums count doesn磘 match value count al row 1


I had created other similar table and I have never had that problem.

any solution?

thanks!!!!
 
Back
Top