Focal Point Banner


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 myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] how to set the Oracle Adapters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] how to set the Oracle Adapters
 Login/Join
 
Gold member
posted
this is my set:
connection Name : test1
TNS name DB1
Security Explicit
User: system
Password : systemtest

when i code like below,
ENGINE SQLORA SET DEFAULT_CONNECTION test1
select * from xxxx
;
END

this result is 0 number...

when i change to
ENGINE SQLORA SET DEFAULT_CONNECTION test1
select * from dbwork.xxxx
;
END

this result is ok....

below is my question,
i don't want to codeing :
select * from dbwork.xxxx

i want to use select * from xxxx

how can I Configuring the Adapter for Oracle,

I used MSSQL before ,there are "Default Database" setting ..

I want use Oracle like MSSQL ,how can I setting.


I used WF7703 32bit

Thanks,
James

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
Virtuoso
posted Hide Post
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.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
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.

- Mike.
 
Posts: 1 | Registered: November 23, 2011Report This Post
Gold member
posted Hide Post
thanks GamP
thanks Mike Arend

i will try .

Thanks,
James


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
 
Posts: 97 | Registered: August 18, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] how to set the Oracle Adapters

Copyright © 1996-2020 Information Builders