Hello everybody,
I Want to use the SQL query given below
"SELECT * FROM tblEmployees WHERE (EmpName, EmpCity) = '" & txtNameAndCity.text & "'"
Where txtNameAndCity.text = Vishal, Delhi
Here I get the following error
Syntax error (comma) in query expression '((EmpName, EmpCity) = 'Vishal, Delhi')'.
Actually I have the name and city combined (not Different),
So what should be my SQL Query
Does any one know the answer
Thank You
I Want to use the SQL query given below
"SELECT * FROM tblEmployees WHERE (EmpName, EmpCity) = '" & txtNameAndCity.text & "'"
Where txtNameAndCity.text = Vishal, Delhi
Here I get the following error
Syntax error (comma) in query expression '((EmpName, EmpCity) = 'Vishal, Delhi')'.
Actually I have the name and city combined (not Different),
So what should be my SQL Query
Does any one know the answer
Thank You