I am trying to connect to an access database with the following SQL String...
And I am getting the following error
can someone please help?
Code:
strSQL = "SELECT * FROM Addresses WHERE Years Like *2005* ORDER BY LastName ASC, FirstName ASC, MiddleName ASC"
Code:
Error Type:
Microsoft JET Database Engine (0x80040E14)
Syntax error (missing operator) in query expression 'Years Like *2005*'.
/apprenticeship/ApWeb/dbconnect.asp, line 8
can someone please help?