Solved

Option :sql server compatible syntax ansi 92

Posted on 2015-02-20
3
481 Views
Last Modified: 2015-02-24
I am upgrading several Access 2003 databases to Access 2013.  These are slit databases with Access fornt ends and backends.

One of the options that can be set in the 'Object Designers' window of the 'Access Options is:

sql server compatible syntax ansi 92
  'This Database'                              can be checked
  or
  'Default for New Databases'       can be checked'

I have read that the difference is that queries etc.. have to be Ansi 92 compliant if this box is checked for an existing database.  Is this also true of any SQL executed in the VBA code?

Without looking at every query I have no idea if the queries would be compliant since I didn't create most of them.  Seems like the safe thing to do would be to leave this box unchecked for database being upgraded from earlier versions of Access.
However, upgrading to 2013 is just the first step in the long term plan, which will later transition the backend database, now in Access to SQL Server.

Step 1. Upgrade to the 2013 version of Access, test and install in production using an Access DB as the data respository.
Later, as a separate project
Step 2. Replace the Access backend with SQL Server.

I just want to make you aware of the long term plan, in case it would influence your answer to the question:  Which of these options should I choose when upgrading from 2003 to 2013 and what are the implications of the choice.
0
Comment
Question by:mlcktmguy
3 Comments
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 40622766
If you don't mark this option, you will use ANSI-89 which is what Access uses by default for SQL.

A reason for marking the ANSI-92 option is that it makes it easier to interchange SQL between SQL Server and Access. If you have no plans for this, continue using ANSI-89.

/gustav
0
 
LVL 34

Accepted Solution

by:
PatHartman earned 500 total points
ID: 40625073
Whether you convert the BE to SQL Server or not, you can leave the default as ANSI-89 syntax.  There isn't any benefit to moving to a different version since ACE doesn't support newer operations anyway.  ANSI-92 is pretty old and there are newer standards.  The ODBC driver takes care of any conversion that is necessary so I wouldn't spend the time and money to change the syntax for no real benefit.
0
 
LVL 1

Author Closing Comment

by:mlcktmguy
ID: 40628468
Thanks you, that is exactly the kind of detailed feedback I was hoping for.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now