http://www.sqlservercentral.com/blogs/andy_warren/2010/06/30/ms-access-annoyance_3A00_-doesn_1920_t-link-synonyms/

Printed 2014/07/23 12:19PM

MS Access Annoyance: Doesn’t Link Synonyms

By Andy Warren, 2010/06/30

I use Access when I don’t have dedicated admin tools for editing data, frequently the case for infrequently changed data in smaller projects. Linked tables work reasonably well, just have to create a DSN first.

Except…it doesn’t seem to work (at least obviously) for synonyms. Here’s one I created (viewing as sysadmin):

image

And the view when linking from Access, also with syadmin credentials:

image

In this case I just wanted to peek at a row just inserted. Not that I couldn’t run the select, but was (or would have been) convenient to do so, as often I wanted to update the row so it would re-process without having to run through the entire process again.

I get that it’s not always a table/view, would be strange to link to a proc – but isn’t that what metadata is for?

Why synonyms? I’ve a huge fan of two part syntax. Not one part, not three, not four. Make it all look local, when it’s time to move the db life is good, just update all the synonyms and move on, no code changes.


Copyright © 2002-2014 Simple Talk Publishing. All Rights Reserved. Privacy Policy. Terms of Use. Report Abuse.