Hi,
SELECT *
FROM veriler
WHERE (name LIKE '%in%')
This line doesn't work in Ms Access, IN either. No error is given is well. But It works in SQL server. How can i do in Access?
Thanks
Hi,
SELECT *
FROM veriler
WHERE (name LIKE '%in%')
This line doesn't work in Ms Access, IN either. No error is given is well. But It works in SQL server. How can i do in Access?
Thanks
Short summary and practical gotchas (builds on and )
The behavior you saw comes from two different SQL dialects and where the SQL is executed. Access has historically used a legacy SQL mode for its local engine; other modes (and SQL Server) use different wildcard characters and slightly different syntax. That means the same LIKE text can work in one environment and not return results in another.
Checklist to fix and troubleshoot
name or in) or ambiguous names; bracket field names when in doubt. & operator for concatenation in Access VBA to avoid numeric coercion.Extra tips
LIKE returns no rows even though you expect matches, verify the field is text (not numeric), check for trailing control characters, and confirm whether the query is local or passed through to a server. Jump to Post— Henry Schubel 5The Asterisk * is the wild card for the LIKE operator in Access.
answer is
WHERE name LIKE ('*' & in & '*')
The Asterisk * is the wild card for the LIKE operator in Access.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.