Reputation: 766
I need to distinguish ‘"Omreisende"’ from ‘Omreisende’ in an SQL search. How do I write such a query? The solutions I have found thus far (such as this one), specifically try to circumvent the quotation mark, whereas I need to differentiate strings with them from those without them.
MS Access 2007 running towards an Oracle server.
Thanks in advance!
Upvotes: 0
Views: 2110
Reputation: 326
In MS-Access you need to do it like this:
[LastName] = """strName"""
In Oracle: Quotation Marks in Oracle
[LastName] = '''strName'''
So in MS-Access the Escape-operator is the double quotes "
and in Oracle it is the single qoutes '
Upvotes: 2