Solved

Not able to use some sql commands in access 2007

Posted on 2013-02-01
7
359 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

680 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