-5
insert_into tb_loan (Product_Code, Customer_Code, Loan_Amount, Rate_Interest, Amount_Tenure, Emi_Amount, Emi_Start, Emi_End) VALUES (0,0,'10000',10.37,'20','546.6','25-10-2013','25-10-2013')

插入失败:您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册,以在第 1 行的“insert_into tb_loan (Product_Code, Customer_Code, Loan_Amount, Rate_Interest, Am”附近使用正确的语法

4

2 回答 2

1

代替

insert_into

insert into

并更好地使用YYYY-MM-DD日期格式

insert into tb_loan (Product_Code, Customer_Code, Loan_Amount, Rate_Interest, Amount_Tenure, Emi_Amount, Emi_Start, Emi_End) 
VALUES (0,0,'10000',10.37,'20','546.6','2013-10-25','2013-10-25')
于 2013-10-25T06:08:38.497 回答
0

您的插入查询错误,试试这个

INSERT INTO tb_loan(Product_Code, Customer_Code, Loan_Amount, Rate_Interest, Amount_Tenure, Emi_Amount, Emi_Start, Emi_End) VALUES (0,0,'10000',10.37,'20','546.6','25-10-2013','25-10-2013')

替换insert_intoINSERT INTO

于 2013-10-25T06:08:50.097 回答