When I insert into table with this code I have this error.
INSERT INTO Ridic values(
1, 'Franta' , 'Popkorn' ,
2, 'Slavěna', 'Zíková' ,
3, 'Havel' , 'Bravenec' ,
4, 'Rudolf' , 'Stibor' ,
5, 'Miloš' , 'Vorlíček' ,
6, 'Agáta' , 'Krobotová'
)
Column name or number of supplied values does not match table definition.
But when I try insert only one row everything is OK
INSERT INTO Ridic values(1, 'Franta' , 'Popkorn')
I use SQL server 2014 management studio. there is table:
create table Ridic
(
UserID int primary key,
Jmeno varchar(10),
Prijmeni varchar(10)
)