Solved

Not able to use some sql commands in access 2007

Posted on 2013-02-01
7
340 Views
Last Modified: 2013-02-06
Hello,
am studying out of a microsoft sql book for microsoft access- think it was written using 2003-
I am using access 2007-
Tried to use [on update cascade] and [on delete cascade] commands-
and access giving errors -
the book states that if not using sql 92 - some commands may not work-
what sql version does access 2007 use and should these commands work?
thank you
0
Comment
Question by:davetough
  • 3
  • 2
  • 2
7 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 500 total points
ID: 38845088
Click the Windows button
Then click the Access Options button
Select Object Designers
About 1/2 way down the page there is a SQL Server Compatible Syntax, with a checkbox.SQL 92
0
 
LVL 75
ID: 38845089
The default is *not* ANSI 92 ... but, you can .. specify that.

SQL
Those command are not supported in the default mode - as far as I know.
0
 

Author Closing Comment

by:davetough
ID: 38845106
thanks
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:davetough
ID: 38845323
one question:
If I enable this at work- and if I used one of commands in a database i create- would the other computers with access 2007 - (that this is disabled on) - not be able to recognize the commands?
thanks
0
 
LVL 75
ID: 38845351
Not sure.  I would *try* it to *be* sure ...
The setting implies ... it goes with the db ... but ?

Why do you need to do this - just curious ?
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 38846013
to go along with dmx question.  I assume these commands simply provide the same referential integrity you can build into your database structure by building the table relationships and defining the cascading properties in the relationships.  Why not just implement this in that manner?
0
 

Author Comment

by:davetough
ID: 38860392
thanks-mainly working thru this book- but have been looking at other jobs and they all want sql server- since I cannot right now start any classes on server - I thought working through this book - creating some real databases with all sql- it might get me prepared to learn sql server-
thanks for help
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

823 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