Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6029807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:56:30+00:00 2026-05-23T04:56:30+00:00

Due to circumstances not fully under my control, I have to develop ACCESS queries

  • 0

Due to circumstances not fully under my control, I have to develop ACCESS queries which will be stored in an Access 2000 MDB but which may be developed under any one of: Access 2000, 2002, 2003, 2007, 2010. These queries will access (via linked tables) either an MS SQL Server DB or an Access 2000 .MDB file.

In the past, we had issues which we tracked down to queries not being ANSI-92 compatible. This we solved by marking the Check Box in the Tables/Queries tab of the Tools|Options dialog (under older versions of Access than 2007).

We move these Access application .MDBs between various systems and we now generally don’t have any problems.

However, I’ve just developed a query which works fine with all inner joins, but when I change one of the joins to an outer join, the query fails with an “Invalid Operation” error under Access 2010. So I thought I’d check if the ANSI-92 checkbox was still set. I couldn’t find it.

Now, I KNOW that Access 2003 and later uses ANSI 92 syntax automatically but I wondered if there’s any way to check that this is the case for these queries in this (rather specific circumstances). I observed that when we changed the checkbox, all my “Like” queries became “ALike” queries…

So the question boils down to is ANSI 92 syntax totally transparent in this circumstances and the reason my query is failing is something else…

TIA,
Paolo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:56:31+00:00Added an answer on May 23, 2026 at 4:56 am

    In Access 2010, the setting for SQL Server Syntax compatibility is under:

    File > Options > Object Designers > Query Design.

    You’ll first need to check if that option is set or not to confirm whether the behaviour of your query is normal.

    As for LIKE vs ALIKE, the latter will work in the ANSI-way, using % and _ pattern matching.
    In SQL-89 compatibility mode (the MS Access SQL subset), LIKE only works with * and ? patterns but if you change the compatibility to SQL-92, you need to rewrite your queries with % and _ instead.

    That’s why ALIKE was introduced, it allows you to write ANSI compliant patterns regardless of the compatibility level you choose (so in SQL-92 compatibility mode, both are behaving the same).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Due to a disaster we have lost access to our source control and need
Due to company constraints out of my control, I have the following scenario: A
I have a table which contains due dates for individual member records. Each row
The situation is as follows: Due to circumstances beyond my control, I'm writing a
I have an amount of files, somewhat inexplicably, but due to extenuating circumstances, receive
Due to being new, I can only have two links and can not post
Java process control is notoriously bad - primarily due to inadequate support by the
I'm using the jquery.cjobjectScaler plugin ( link text ) and due to circumstances beyond
I have an Access 2007 application (previously in Access 2003) that is running into
Due to pressure from outside our group, we have to port over one hundred

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.