MySQL Forums
Forum List  »  PHP

#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 2
Posted by: Md RASEL
Date: August 26, 2014 11:21PM

I am trying insert data thru the sql command but getting the below error. Kindly let me know what I am doing wrong.

Command:
INSERT INTO `exam_master` (`e_id`,`e_name`,`e_description`,`e_total_time`,`e_no_of_question`,`e_max_marks`,`e_pass_marks`,`e_active`,`e_create_by`,`e_create_date`) VALUES
(1,'BT0092','Software & Project Management',10,5,100,50,1,1,'2014-07-02 20:00:00')

Error:
MySql Said:

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 2

Options: ReplyQuote


Subject
Written By
Posted
#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 2
August 26, 2014 11:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.