How use the insert query using parameters?

前端 未结 5 2015
猫巷女王i
猫巷女王i 2020-12-19 15:42

When i try with this query i get an error says that Perameter email doesn\'t exist, i am sure that the variables : email, login_pass, payment_method,operateur are valid and

5条回答
  •  温柔的废话
    2020-12-19 16:47

    Remove quotation marks:

    SQLQuery2.sql.Text := 'INSERT INTO registered (email,login_pass,payment_method,operateur)
       VALUES (:email, :login_pass, :payment_method, :avecpuce)';
    

提交回复
热议问题