As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
Well, what can I say? If you want to use Oracle as if it were MSSQL then I'd advise to port the Oracle db to MSSQL. You just simply can't compare the two with respect to how to work with them. They are two very different database engiens, and that diference is reflected in the way you have to work with them. If you stick to using master files then you can still simply say TABLE FILE xxx, the connection info is stored in the access file. But if you go native, well then you have to abide by the rules that govern that specific db engine.
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
James, You are connecting to Oracle with one user and running a query against another user's table. Oracle does not know which user's table "xxxx" you want to query.
There are at least two ways to do this: 1) Log into Oracle as the dbwork user.
2) Use synonyms on each object so you don't need to use the explicit "owner.object" reference. (Oracle does not have a default setting for this. There are public synonyms that apply for all users, but you still need to create one for every object/table.) "Create synonym xxxx for dbwork.xxxx;" Run this while logged in as the user you will be connecting with, not while logged in as dbwork.
3) I would suggest that you not connect as system. This is a DBA user with full permissions to the database. Depending on your data security concerns, you may not want to connect as dbwork either. We usually use another proxy ID just for reporting connections. This user will need the grants for read access and any synonyms that you want.