DB Links accessing a column
Hi,
I need to find out what are all the different DB Links that are accessing a column in a table.
For ex: I have a column as BIRTH_DT in EMPLOYEE table.
I want to know what are all the various DB Links that has access to view this column.
Thanks in advance.
Agathya
user10136072 wrote:
Hi,
I need to find out what are all the different DB Links that are accessing a column in a table.
For ex: I have a column as BIRTH_DT in EMPLOYEE table.
I want to know what are all the various DB Links that has access to view this column.
Thanks in advance.
AgathyaA db_link is simply one database acting as a client to another database. The link establishes a connection to the 'remote' database using some username/password for that database - just like you would do with sqlplus. The ability of a link to access a particular column is entirely dependant on what privileges are granted to the user that the link uses to establish the connection.
So the real question is what local user accounts have access to the employee table. Which of those accounts might be used by a db_link?
Similar Messages
-
Access Summary column in a query
Hi All,
I am new to oracle reports. I am using report builder 10.1.2.0.2.
I have a summary column in my report. I would like to use this summary column in another query.
if is use this column directly in the query, i am getting the below error:
"Field 'F1' references column '<summary column name>' at a frequency below its group. "
Both these fields are in the same frame. In the object navigator, both are displayed under the same group name.
please let me know if there any way to access summary columns in another query.
Thanks.You can use a field from one query in another query as parameter, i.e. preceded by colon. To do this first create link of "Group to Query" type between the first query's group where the summary column is, and the second query.
-
Creating a Link on the Column Heading
Good afternoon,
I know with reports, you can create a link for each cell in the report attributes section. My question is it there's any way to create a link for the column header without hard coding it into the query that generating the results.
Thanks in advance,
IvanIvan,
If you are using the classical reports, you have the option of creating column header using pl-sql block which will be dynamic. Thanks
Regards,
Manish -
How to set up a column link to the column attribute in a report
Hi All
I have 6 column in a sql report in a page, column names are (Devicename devicerole,from etc).
Now i need to set a link to this column and this need to link to the another page
Thanks & Regards
Srikkanth.M
Edited by: Srikkanth.M on Apr 6, 2011 6:17 PMHi
Read this and follow it...
>
Go to the report attributes, then click on the edit link button by the side of the column you want to be a link to get to the column attributes.
>
So...
1. Go to edit the page that contains your report.
2. Click on the report region as if you were going to edit the report query.
3. Click the Report Attributes tab.
4. Click the button at the side of the column in question.
5. Scroll down to the Column Link section and fill in the details.
I really can't put it much more simply than that...
Cheers
Ben -
How to create multiple links in one column
Hi,
Could someone please help me with creating 2 different links in one column as below.
I enclosed is the screen shot of my current application view... I would like to put the link one below the other in one column instead in two different columns.
Table Name - SR_PROCESS
Functions - get_open_project , get_open_be
Columns - ''Initiate New Project'' , ''Initiate New Bug or Enhancement''
Below is my coding.
select
''Initiate New Project'' AS "Initiate New Project" ,
get_open_project("SR_PROCESS"."PROCESS_ID") "Open Projects",
''Initiate New Bug or Enhancement'' AS "Initiate New Bug" ,
get_open_be("SR_PROCESS"."PROCESS_ID") "Open Bugs"
from SR_PROCESS
Thanks, Sheetal976745 wrote:
Hi,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "976745".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
Could someone please help me with creating 2 different links in one column as below.
I enclosed is the screen shot of my current application view...Where is the screenshot? Providing an example on apex.oracle.com is a much better way to share details of your application.
I would like to put the link one below the other in one column instead in two different columns.
Table Name - SR_PROCESS
Functions - get_open_project , get_open_be
Columns - ''Initiate New Project'' , ''Initiate New Bug or Enhancement''
Below is my coding.
select
''Initiate New Project'' AS "Initiate New Project" ,
get_open_project("SR_PROCESS"."PROCESS_ID") "Open Projects",
''Initiate New Bug or Enhancement'' AS "Initiate New Bug" ,
get_open_be("SR_PROCESS"."PROCESS_ID") "Open Bugs"
from SR_PROCESSDepends on your APEX version and the type of report. Please provide the information detailed above. -
To get the count of records and able to access the column value in a single
Hi
Is there any way to get the number of records in the query and access the column values
e.g
select count(*)
from
(SELECT department, COUNT(*) as "Number of employees"
FROM employees
WHERE salary > 25000
GROUP BY department ) a
This wil only get the Count, if i want to access each row from the inline view how can i do that.Your question is not clear.
Are you looking for total record count as well as count by department ?
Something like this?
SQL>
SQL> with temp as
2 (
3 select 1 dept ,10000 sal from dual union
4 select 1 dept ,25100 sal from dual union
5 select 1 dept ,30000 sal from dual union
6 select 1 dept ,40000 sal from dual union
7 select 2 dept ,10000 sal from dual union
8 select 2 dept ,25100 sal from dual union
9 select 2 dept ,30000 sal from dual union
10 select 2 dept ,40000 sal from dual )
11 select count(*) over( partition by 1 ) total_count,dept,
12 count(*) over(partition by dept) dept_cnt from temp
13 where sal>25000;
TOTAL_COUNT DEPT DEPT_CNT
6 1 3
6 1 3
6 1 3
6 2 3
6 2 3
6 2 3
6 rows selected
SQL> -
Hiding a report based on Action Link on report column values in OBIEE 11g
Hi All,
I have two Daashboard pages. In Page1, I have Report1.
In Page2, I have Report 2 and Report 3 in different sections.
My requirement is, to create Action Link on two columns in Report1. Column1 should be navigated to Report2 in Dashboard Page2 and Column2 should be navigated to Report3 in the same Dashboard Page.
Is it possible to use variables to hide Report2 when we click on Column1 and Report3 when we click on Column2.
If yes, how to achieve this requirement?
Please help me out.
Thanks in Advance.Please see the following thread - I just implemented exactly what you are looking for. The bad thing is that it does require adding an additional column to all of your reports.
https://community.oracle.com/thread/2483725
Thanks,
~KKT~ -
Dashboard Prompt that does not link to any column
Hi,
This might be a basic question but I am missing something here.
How can we create a dashboard Prompt that is not linked to any columns? This prompt has to be a drop down with two values to choose from.
1. Accounting
2. Operational
The value chosen in this prompt will be used for calculations in my reports. The calculation for Accounting and Operational is different.
I do NOT have these two values in any of the columns.
Please suggest on how can I do this.
This is OBIEE 10.1.3
Your help is very appreciatedSELECT 'Accounting' FROM "Subject area"
where Time."Date"=current_date
union all
SELECT 'Operational' FROM "Subject area"
where Time."Date"=current_date
Pls mark as correct/helpful -
Linking Access tables, creating a query with using both Access and Oracle
Hello,
I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
I will appreciate if you guys help me. I look forward to hearing from you guys.
Thanks,
PinarPinar,
to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
And there's also a dedicated Forum: Heterogeneous Connectivity -
When you are doing links in a column, and there is not much room so you want them to sit one on top another, if you use
<p> </p> they are to far apart and take up to much room, so what mark up do you use. can any one help please.Use unordered list <ul> <li> tags.
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
Use CSS to style the list as needed:
http://www.w3schools.com/css/css_list.asp
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com/ -
ADF -- Accessing table column header in java bean called from jsf
Hi everyone,
I am calling a common bean function for all columns of a table from jsf inlineStyle, for each call i need to access caller column's headerText in bean.
How can i access the same in that common function, i.e. for each column's call to the bean, i need the respective headerText accessible in bean.
Can anyone help me out with this???store the value in page flow scope and get it anywhere you want.
RequestContext rc = RequestContext.getCurrentInstance();
rc.getPageFlowScope().put("somevar", somevalue); -
What is the formula to get document link in calculated column for document library ?
Hello,
would you please let me know the formula to get document link in calculated column ?
Thanks and Regards,
Dipti
Dipti Chhatrapatihi Dipti,
there is no column which contains the ItemURL.
if you want a colum to have url than you need to create a workflow
which calculate the ItemUrl and store it in custom column
use the below article to do this
http://www.sharepointusecases.com/2013/05/how-to-show-file-path-inside-a-sharepoint-document-library-view/
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Accessing table column names from WAD
Hi All,
I w ould like to access the column names (the Infoobject name) of a table .
Was playing arnd with the API..SAPBWGetDataProviderDimensions
but it gives only characters column name..
WAS wondering if any of you has any idea to access both the char names as well as KF's.
thnx for your time..
appreciate your inputs/cues..
-LedYou can use the getDimensionName function to get the characteristic texts and infoobject technical name. The following function might help you.
function getDimensionName(n,dp){
var dim = SAPBWGetDataProviderDimensions(dp);
var iobjnm = "";
var str = "";
if ( dim != null ){
for( i=0;i<dim.length;i++ ){
str = dim<i>[0];//setting str equal to the first position in the array
str.indexOf("__")>-1 ? iobjnm = str.substring( str.indexOf("__")+2, str.length ) : iobjnm = str ;
if (dim<i>[0]==n ){//this means we have found the property array for the info object we are concerned with
if (dim<i>[20] == iobjnm)
return iobjnm
else if ((dim<i>[20] != "") && (dim<i>[0] != dim<i>[20]))
return dim<i>[0]
else
return dim<i>[0]
else
iobjnm="error";
}//for
}//if
return iobjnm;
}//end function
Thanks,
Jeff -
Link inside a column table behavior
I display the ID as a commandLink that navigates to another page. I have single selection enabled for the table. The problem is that I have to click twice on the link for the navigation to work. The first click is considered by the table to be the row selection, and the second click is doing what is expected.
Ex: First row is selected. I click on the id of the third row, it's supposed to go to the details page. But clicking on the id makes the third row, the current selected row. If I click again on the same id, it's working because the third row is the current selected row.
Is there a way to make the click, select the row and navigationto the outcome page?
JDev 11gR1I can't find an error in the code beside the
<af:commandLink text="#{row.Id}" rendered="false" id="cl1" action="questionDetails" actionListener="#{bindings.setCurrentRowWithKeyValue.execute}" disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"/>
I setup a small test case using the HR db schema and the employees table. First page shows the table with the employee id as link to the detail page. The detail page shows a read only form of the selected employee.
Here are the pages: Table
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelStretchLayout topHeight="50px" id="psl1">
<f:facet name="top">
<af:outputText value="Table Link Test" id="ot1" inlineStyle="font-size:x-large;"/>
</f:facet>
<f:facet name="center">
<af:table value="#{bindings.Employees.collectionModel}" var="row" rows="#{bindings.Employees.rangeSize}"
emptyText="#{bindings.Employees.viewable ? 'No data to display.' : 'Access Denied.'}" fetchSize="#{bindings.Employees.rangeSize}"
rowBandingInterval="0" selectedRowKeys="#{bindings.Employees.collectionModel.selectedRow}"
selectionListener="#{bindings.Employees.collectionModel.makeCurrent}" rowSelection="single" id="t1">
<af:column sortProperty="#{bindings.Employees.hints.EmployeeId.name}" sortable="true" headerText="#{bindings.Employees.hints.EmployeeId.label}"
id="c3">
<af:commandLink text="#{row.EmployeeId}" id="cl1" action="detail"/>
</af:column>
<af:column sortProperty="#{bindings.Employees.hints.FirstName.name}" sortable="true" headerText="#{bindings.Employees.hints.FirstName.label}"
id="c2">
<af:outputText value="#{row.FirstName}" id="ot2"/>
</af:column>
<af:column sortProperty="#{bindings.Employees.hints.LastName.name}" sortable="true" headerText="#{bindings.Employees.hints.LastName.label}"
id="c4">
<af:outputText value="#{row.LastName}" id="ot4"/>
</af:column>
<af:column sortProperty="#{bindings.Employees.hints.Email.name}" sortable="true" headerText="#{bindings.Employees.hints.Email.label}" id="c1">
<af:outputText value="#{row.Email}" id="ot3"/>
</af:column>
<af:column sortProperty="#{bindings.Employees.hints.PhoneNumber.name}" sortable="true" headerText="#{bindings.Employees.hints.PhoneNumber.label}"
id="c5">
<af:outputText value="#{row.PhoneNumber}" id="ot5"/>
</af:column>
</af:table>
<!-- id="af_one_column_header_stretched" -->
</f:facet>
</af:panelStretchLayout>
</af:form>
</af:document>
</f:view>
</jsp:root>
Detail
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelStretchLayout topHeight="50px" id="psl1">
<f:facet name="top">
<af:outputText value="Table Link Detail" id="ot1" inlineStyle="font-size:x-large;"/>
</f:facet>
<f:facet name="center">
<af:panelFormLayout id="pfl1">
<af:panelLabelAndMessage label="#{bindings.EmployeeId.hints.label}" id="plam2">
<af:outputText value="#{bindings.EmployeeId.inputValue}" id="ot3">
<af:convertNumber groupingUsed="false" pattern="#{bindings.EmployeeId.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.FirstName.hints.label}" id="plam12">
<af:outputText value="#{bindings.FirstName.inputValue}" id="ot10"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.LastName.hints.label}" id="plam10">
<af:outputText value="#{bindings.LastName.inputValue}" id="ot5"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Email.hints.label}" id="plam8">
<af:outputText value="#{bindings.Email.inputValue}" id="ot4"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.PhoneNumber.hints.label}" id="plam9">
<af:outputText value="#{bindings.PhoneNumber.inputValue}" id="ot13"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.HireDate.hints.label}" id="plam1">
<af:outputText value="#{bindings.HireDate.inputValue}" id="ot8">
<af:convertDateTime pattern="#{bindings.HireDate.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.JobId.hints.label}" id="plam7">
<af:outputText value="#{bindings.JobId.inputValue}" id="ot12"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Salary.hints.label}" id="plam6">
<af:outputText value="#{bindings.Salary.inputValue}" id="ot9">
<af:convertNumber groupingUsed="false" pattern="#{bindings.Salary.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.CommissionPct.hints.label}" id="plam5">
<af:outputText value="#{bindings.CommissionPct.inputValue}" id="ot2">
<af:convertNumber groupingUsed="false" pattern="#{bindings.CommissionPct.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.ManagerId.hints.label}" id="plam4">
<af:outputText value="#{bindings.ManagerId.inputValue}" id="ot7">
<af:convertNumber groupingUsed="false" pattern="#{bindings.ManagerId.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.DepartmentId.hints.label}" id="plam11">
<af:outputText value="#{bindings.DepartmentId.inputValue}" id="ot11">
<af:convertNumber groupingUsed="false" pattern="#{bindings.DepartmentId.format}"/>
</af:outputText>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="#{bindings.Dummytext2.hints.label}" id="plam3">
<af:outputText value="#{bindings.Dummytext2.inputValue}" id="ot6"/>
</af:panelLabelAndMessage>
<af:commandButton text="Back" id="cb1" action="back"/>
</af:panelFormLayout>
<!-- id="af_one_column_header_stretched" -->
</f:facet>
</af:panelStretchLayout>
</af:form>
</af:document>
</f:view>
</jsp:root>
This work as expected.
Can you do the same test?
Timo -
How do i get AE to work as well as old d-link access point
i have a d-link DSL-604+ which is great - works for broadband acts as a hub and provides wireless at one end of my long thin house. my main mac is plugged into it and works great. i ran some time ago a cat5e cable under the floor boards when we moved in to the other end where the wireless doesnt reach (just) and there i had a d-link dwl-900ap+ connected by the wire to the main router. it was setup with the same ssid and a different channel. my windows work laptop - depending on which end of the house i was would pick up the ssid and connect to the stronger signal no problems i could even walk up and down and it would switch over. now they are both b only and i have recently bought a new airport express with the plan of using airtunes upgrading speed of link and eventually changing my laptop to a mac. now on the old system my router would act as DHCP giving a 192.168 address. i seem unable to setup the AE to do the same thing. i can stream audio to my hifi no problems - this is cool. i can set it up to create a wireless network and give it a different ssid and channel but it doesnt seem to want to choose the same ssid. i can manually change it to the same - is this what i should do? however when i do this the AE trys to act as DHCP and gives a 10.1 address to the laptop which is odd - if i then move the laptop constantly tries connecting to both APs and changes its ip address. if i tell the AE to use 192.168 it says this conflicts with a wan setting. is there a way of saying get dhcp from elsewhere?
i am sure this is really straightforward and i am missing something. the dlink was easy i told it it was an access point - my network was called xxx and that the network had dhcp and it just worked.
should i be using the join a wireless network option instead of the create a network? but isnt this for people who are extending their networks wirelessly? i ran a cable.
thanksi seem unable to setup the AE to do the same thing. i can stream audio to my hifi no problems - this is cool. i can set it up to create a wireless network and give it a different ssid and channel but it doesnt seem to want to choose the same ssid. i can manually change it to the same - is this what i should do?
Yes you will manually need to enter the SSID.
however when i do this the AE trys to act as DHCP and gives a 10.1 address to the laptop which is odd
You also need to configure the AirPort Express (AX) to bridge (not share a single IP address).
should i be using the join a wireless network option instead of the create a network? but isnt this for people who are extending their networks wirelessly?
You should be using the "create a network" option.
Maybe you are looking for
-
Item level link in PO for items added from individual Shopping carts
Hi all, IF i create a PO in Sourcing using multiple shopping carts,then for each of the item in the PO ,is there any link which has details about the Line item of the SC from which the PO was created?I am looking for some link in the PO(created from
-
MSI GE60 0NC black screen after updating to windows 8.1
Hey, guys! I updated my laptop last night to windows 8.1 and everything went smoothly until the final boot wherein, after signing in to my account, there's only a black screen and mouse cursor. I tried finding solutions online like using sfc but it o
-
Trying to manipute the photo page in iweb for a single slide show
I want to add a slide show to my website that I am creating but I do not want all the photos shown individually the way they do on the photo page for all the iweb templates. Can I import a slideshow from iphoto or do I need to create one somewhere el
-
Help - what is wrong with my iMac ?
Hello I'd really appreciate some help and advice with by iMac ! I'm having a really strange issue and I've no idea whats casuing it. After using it for a while whichever window is open starts to black out - you can shut the window down but it remains
-
Problem in resizing multicolumn listbox in
I am using multicolumn listbox to show my test to user. In development PC it looks nice and displays as much as column I want but in other PC where I am installing my application there last row column is partially visible. I have set VI to resize the