Time : 11:55:19 SQLSTATE[42000]: Syntax error or access violation: 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 '' at line 1 Raw SQL : select ad.*,p.NAME from advertisementbooking ad inner join partydetail p on p.PARTYID=ad.PARTY where ADVERTISEMENTBOOKINGID= Time : 10:46:45 SQLSTATE[42000]: Syntax error or access violation: 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 'and NAME='Sampada Enterprises'' at line 1 Raw SQL : select NAME,CITY,PARTYID from partydetail,contact where PARTYID=PARTY and CITY= and NAME='Sampada Enterprises' Time : 09:49:46 SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'CREATEDBY' cannot be null Raw SQL : insert into businesstype(CREATEDDATE,CREATEDBY,UPDATEDBY,UPDATEDDATE,PARTY,BUSINESSTYPE) values(:CREATEDDATE,:CREATEDBY,:UPDATEDBY,:UPDATEDDATE,:PARTY,:BUSINESSTYPE) Time : 07:29:42 SQLSTATE[42000]: Syntax error or access violation: 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 'and NAME='M. N. Scooters'' at line 1 Raw SQL : select NAME,CITY,PARTYID from partydetail,contact where PARTYID=PARTY and CITY= and NAME='M. N. Scooters' Time : 05:51:01 SQLSTATE[42000]: Syntax error or access violation: 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 'C' Block'' at line 1 Raw SQL : select PARTYID from partydetail,contact where PARTYID=PARTY and CITY=948 and NAME='Kavita Automobiles' and ADD1='1642/57, 11th Cross'C' Block'