Home > Software engineering >  MFC database
MFC database

Time:11-07

MFC query the database content, through the edit control controls the query, using SQL query statement select * from the where use like '% "+ +" variable %', but an error?

CodePudding user response:

"Select * from where, the use, like '%" + + "variable %'" behind the asterisks to add a space, and use add a ", "number, the upper left corner of the point,

CodePudding user response:

Print out the joining together of SQL syntax check to know

CodePudding user response:

Query statements don't need the table name?

CodePudding user response:

Method to spare the SQL injection vulnerabilities

CodePudding user response:

Select * from the where use like '% % "+ +" variable % %'
  • Related