I have the following SQL statement in Access which I want to amend to accept a variable instead of June:-
SELECT *
FROM Staff
WHERE Name LIKE "June*";
I have tried:-
SELECT *
FROM Staff
WHERE Name LIKE "[@name]*";
which does not work. I'm sure this is a straight forward...
A good source of information on this can be found at http://www.stardeveloper.com/articles/010701-1.shtml You should get enough information here to solve your problems.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.