Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Not able to use some sql commands in access 2007

Posted on 2013-02-01
7
349 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

792 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