473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Schema/User Name Oracle/Access linked tables

Hi

Could someone please advise me how to remove the schema name from
linked tables within Access. For example when I connect to a Oracle
database via Microsoft ODCB for Oracle the list of tables shown are of
the nature username.tablename I would like this only to display the
table name I have this arrangement on another PC here but I am not
sure how it was configured.

Thanks
Nov 12 '05 #1
5 4628
Just rename the links. The links can have any name you like and still be
linked to the tables you originally linked them to.

On 23 Feb 2004 19:31:43 -0800, da***********@hotmail.com (dave71) wrote:
Hi

Could someone please advise me how to remove the schema name from
linked tables within Access. For example when I connect to a Oracle
database via Microsoft ODCB for Oracle the list of tables shown are of
the nature username.tablename I would like this only to display the
table name I have this arrangement on another PC here but I am not
sure how it was configured.

Thanks


Nov 12 '05 #2
DFS
"dave71" <da***********@hotmail.com> wrote in message
news:ca**************************@posting.google.c om...
Hi

Could someone please advise me how to remove the schema name from
linked tables within Access. For example when I connect to a Oracle
database via Microsoft ODCB for Oracle the list of tables shown are of
the nature username.tablename I would like this only to display the
table name I have this arrangement on another PC here but I am not
sure how it was configured.

Thanks


Dave,

Just highlight the link, hit F2 and edit the name. But before doing this,
think about the ramifications. It's yet another issue that has to be
documented. If you relink the tables, you'll have to rename them again. If
someone inherits the system from you, they'll have to know this caveat. The
schema names might help when writing pass-through queries.

I used to rename links, but no longer do so. I recommend against it.
Nov 12 '05 #3
On Tue, 24 Feb 2004 00:14:02 -0500, "DFS" <no****@nospam.com> wrote:
"dave71" <da***********@hotmail.com> wrote in message
news:ca**************************@posting.google. com...
Hi

Could someone please advise me how to remove the schema name from
linked tables within Access. For example when I connect to a Oracle
database via Microsoft ODCB for Oracle the list of tables shown are of
the nature username.tablename I would like this only to display the
table name I have this arrangement on another PC here but I am not
sure how it was configured.

Thanks


Dave,

Just highlight the link, hit F2 and edit the name. But before doing this,
think about the ramifications. It's yet another issue that has to be
documented. If you relink the tables, you'll have to rename them again. If
someone inherits the system from you, they'll have to know this caveat. The
schema names might help when writing pass-through queries.

I used to rename links, but no longer do so. I recommend against it.


It depends how you re-link, doesn't it? My relinking code updates the connect
strings and refreshes the existing links, so the names of the links,
themselves don't change. If anyone does manually delete and recreate the
links, it will be obvious that the link names don't look the same as they did
before and will need to be fixed. Finally, if you leave the schema names -in-
the link names, you are now making the front-end only work with one schema
name which makes the front-end much less flexible.

By the way, if you -really-have a lot of links to update, you can loop through
the tabledefs collection, and rewrtie the Name property in code. I do that in
one of my apps since I have to delete and recreate the links to switch between
an MDB and PostgreSQL server back-end. I don't know why, but Access won't let
you change one type of link to another type.
Nov 12 '05 #4
DFS

"Steve Jorgensen" <no****@nospam.nospam> wrote in message
news:dm********************************@4ax.com...
On Tue, 24 Feb 2004 00:14:02 -0500, "DFS" <no****@nospam.com> wrote:
"dave71" <da***********@hotmail.com> wrote in message
news:ca**************************@posting.google. com...
Hi

Could someone please advise me how to remove the schema name from
linked tables within Access. For example when I connect to a Oracle
database via Microsoft ODCB for Oracle the list of tables shown are of
the nature username.tablename I would like this only to display the
table name I have this arrangement on another PC here but I am not
sure how it was configured.

Thanks
Dave,

Just highlight the link, hit F2 and edit the name. But before doing this,think about the ramifications. It's yet another issue that has to be
documented. If you relink the tables, you'll have to rename them again. Ifsomeone inherits the system from you, they'll have to know this caveat. Theschema names might help when writing pass-through queries.

I used to rename links, but no longer do so. I recommend against it.


It depends how you re-link, doesn't it? My relinking code updates the

connect strings and refreshes the existing links, so the names of the links,
themselves don't change. If anyone does manually delete and recreate the
links, it will be obvious that the link names don't look the same as they did before and will need to be fixed. Finally, if you leave the schema names -in-
the link names, you are now making the front-end only work with one schema
name which makes the front-end much less flexible.
But only if you find yourself using the same table from different schemas.
Do you? Why?

I never have. Not once. Though I have used the same table from the same
schema on a different box: dev vs. production.

By the way, if you -really-have a lot of links to update, you can loop through the tabledefs collection, and rewrtie the Name property in code. I do that in one of my apps since I have to delete and recreate the links to switch between an MDB and PostgreSQL server back-end. I don't know why, but Access won't let you change one type of link to another type.


I've faced all the same issues and written all the same code as you mention
above. For years I've used a form dedicated to switching links and link
names back and forth between test .mdbs and the ODBC version.

I've never found a single positive use for renaming table links (or view
links for that matter). Even if they're clunky names, I prefer to keep them
matching.


Nov 12 '05 #5
On Tue, 24 Feb 2004 01:15:37 -0500, "DFS" <no****@nospam.com> wrote:

....
Finally, if you leave the schema names -in-
the link names, you are now making the front-end only work with one schema
name which makes the front-end much less flexible.
But only if you find yourself using the same table from different schemas.
Do you? Why?


Sure. I sometimes have multiple test databases in different states, and
re-link to switch back and forth between them.
I never have. Not once. Though I have used the same table from the same
schema on a different box: dev vs. production.

By the way, if you -really-have a lot of links to update, you can loop

through
the tabledefs collection, and rewrtie the Name property in code. I do

that in
one of my apps since I have to delete and recreate the links to switch

between
an MDB and PostgreSQL server back-end. I don't know why, but Access won't

let
you change one type of link to another type.


I've faced all the same issues and written all the same code as you mention
above. For years I've used a form dedicated to switching links and link
names back and forth between test .mdbs and the ODBC version.

I've never found a single positive use for renaming table links (or view
links for that matter). Even if they're clunky names, I prefer to keep them
matching.


I suppose that's a valid point of view. Probably, the truth of the matter is
that this is more a matter of personal taste than right vs wrong. You can
make it work either way. To me, though, starting with names that include
schema names, then building other objects that expect than name means that
it's now hard to change the app to reflect something different later if that
becomes more appropriate.

Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeff Lambert | last post by:
Using Oracle 8i on Win2k. Here's my problem: I can connect with SYS and can select from any table from schema JEFFX by prefixing tables with said schema name. eg: SELECT * FROM JEFFX.PROJ; ...
3
by: william_hulse | last post by:
The general process i am currently working on is this: STEP 1 xml doc1 is transformed using stylesheet1 to produce xml doc2 - xml doc1 has a namespace declaration as follows... <?xml...
8
by: Alfonso Esteban Gonzalez Sencion | last post by:
I am trying to use Access as a front end for extracting information from an Oracle database. I started using linked tables but I am getting a very curious behaviour. When I consult the linked...
6
by: robin9876 | last post by:
In an Access 97 (and 2000) database that has linked tables to Oracle which is showing some fields as text when they are numbers in Oracle. In Oracle they are specified to a size e.g. Number(38)....
9
by: AnandaSim | last post by:
Hi All, I've had Access 97, 2000 connections to the corporate Oracle database for a few years now - but seldom use it. When I did use it years ago, performance was not fast but the features were...
4
by: Mark D Powell | last post by:
We are running SQL Server 2000 SP3. We have linked servers in use that we use to access Oracle tables. Recently the claim has been made that you can access Oracle tables from within SQL Server...
2
by: zwasdl | last post by:
I'm using access to connect to Oracle via ODBC. I can also connect to Oracle via sql*plus. Can I write a query to join tables from different schema? If so, how? Thanks a million! Wei
3
by: Gox | last post by:
Hi. This is my situation: Backend: Oracle 8i Frontend: MS Access 2k (ODBC driver support LOBs) Q: How insert (upload) a CLOB (pdf or doc file) to an Oracle using MS access (form)?? Q: How...
2
by: harrysdu | last post by:
May be someone has asked similar question here. If so, please point me to the link. one of our Access application has many linked tables. For testing purpose, I would like get it connected to the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.