MySQL rejecting parameter

后端 未结 2 2005
误落风尘
误落风尘 2021-01-22 11:17

Ok, I\'m going crazy on this one. MySQL is throwing a fit about this bit of SQL:

INSERT INTO `test_table` 
  ( `column1`, `column2` ) 
VALUES 
  ( ?COURSEID, ?C         


        
2条回答
  •  孤城傲影
    2021-01-22 11:48

    Not sure if that will work. I would change to either

    VALUES (?, ?)

    OR

    VALUES (:COURSEID, :COURSENAME)

提交回复
热议问题