Trouble with INSERT in PostgreSQL 9.1?

المشرف العام

Administrator
طاقم الإدارة
I am trying to execute the following:

insert into client (first_name,last_name,father_name,phone_number,email,username, password, date_of_birth,gender, street,city,last_connexion,building) values ('"+c.getFirst()+","+c.getLast()+","+c.getFather()+","+c.getPhone()+","+c.getEmail()+","+c.getUsername()+","+c.getPassword()+","+c.getDateBirth()+","+c.getGender()+","+c.getStreet()+","+c.getCity()+","+c.getLastConnection()+","+c.getBuilding()+"'); "ERROR: INSERT has more target columns than expressionsAny help is appreciated.



أكثر...
 
أعلى