Select action_type from fnd_conc_pp_actions where action_type=6;
hi
SELECT fcpp.concurrent_request_id req_id, fcp.node_name, fcp.logfile_name
FROM fnd_conc_pp_actions fcpp, fnd_concurrent_processes fcp
WHERE fcpp.processor_id = fcp.concurrent_process_id
AND fcpp.action_type = 6
AND fcpp.concurrent_request_id = &&request_id
;its returning logfile name ...
AND
select count(*) from fnd_conc_pp_actions where action_type=6;its returning 460 rows.
i want to know what is action_type?
and how to know about all attribute about this fnd tables?
regards
Helios- Gunes EROL wrote:
Hi;
For your question please check e-trm site. You can find relation&explanation&integration and more on e-trm site.(etrm.oracle.com)
Regard
Heliosetrm is not opening.
Similar Messages
-
Dear team support,
I have a problem with my WhatsApp Messenger.
my whatsapp wont save message history. couse error.
Error: Sqlite Error (schema update):
net.rim.device.api.database.DatabaseException: SELECT name FROM sqlite_master WHERE type = 'index' AND name = 'chat_history_jid_index': disk I / O error (10).
Please advise me how can i solve my memory card issue..
Thanksls -l /var/run/lighttpd/
And how are you spawning the php instances? I don't see that in the daemons array anywhere.
EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
You will note that with pre-spawned information, the config looks different[1].
You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
[1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change" -
We just applied "SAP Bundle Patch 10.2.0.4.5 - 201010" in our development system.
We completed all the post installation activities.
In tail end - when we execute subjected command, 39 rows returned.
Very First --- May we understand What is the negative impact on Oracle system?
Secondly -- Do we need to make these rows to "ZERO" is must ?
Finally - How to make them to "ZERO"
2 lines expert advise...will enable us to move forward.
Rgds
==========
COMMAND
==========
SQL> SELECT OBJECT_NAME FROM DBA_OBJECTS WHERE STATUS = 'INVALID';
OBJECT_NAME
LOGMNR_KRVRDLUID3
DBMS_SQLTCB_INTERNAL
DBMS_LOGMNR_FFVTOLOGMNRT
DBMS_LOGMNR_OCTOLOGMNRT
DBMS_RULE_EXP_UTL
DBMS_LOGSTDBY
DBMS_AW_EXP
DBMS_SNAP_INTERNAL
DBMSOBJG_DP
DBMS_REPCAT_EXP
DBMS_STREAMS_TBS_INT_INVOK
DBMS_FILE_GROUP_UTL
DBMS_FILE_GROUP_UTL_INVOK
DBMS_STREAMS_MT
DBMS_LOGREP_EXP
DBMS_LOGREP_IMP
DBMS_STREAMS_RPC
DBMS_STREAMS_DATAPUMP
DBMS_STREAMS_DATAPUMP_UTIL
DBMS_STREAMS_TBS_INT
DBMS_STREAMS_TBS_INT_INVOK
DBMS_STREAMS_TABLESPACE_ADM
DBMS_FILE_GROUP_UTL
DBMS_FILE_GROUP_UTL_INVOK
DBMS_FILE_GROUP
DBMS_FILE_GROUP_INTERNAL_INVOK
DBMS_FILE_GROUP_EXP
DBMS_FILE_GROUP_IMP_INTERNAL
DBMS_REDEFINITION
DBMS_CDC_DPUTIL
LOGMNR_KRVRDREPDICT3
DBMS_CDC_DPUTIL
DBMS_CDC_EXPDP
DBMS_CDC_EXPVDP
DBMS_CDC_IMPDP
DBMS_SCHEMA_COPY
UTL_RECOMP
DBMS_SQLTUNE_INTERNAL
DBMS_CDC_DPUTIL
39 rows selected.
SQL>
==========Hi,
there has been an issue with an earlier set of bugfixes or an older CPU patch.
It did invalidate the catproc component.
Check: select comp_id,status, version from dba_registry;
if CATPROC is invalid, shutdown and startup your DB.
run
@?/rdbms/admin/catproc.sql
it can run between 10 and 25 minutes depending on horse powers.
Check again: select comp_id,status, version from dba_registry;
CATPROC should now be valid.
If yes run utlrp.sql again and your errors will be gone.
If not, your issue is something else.
Volker -
Whats the meaning of plus in query : select employeename from emp where emp
Hi All,
Can someone please explain me whats the meaning of plus sign in following SQL. I have nevercome across this syntax
select employeename from emp where empid(+) >= 1234.Example of equivalent queries using oracle syntax and ansi syntax
SQL> ed
Wrote file afiedt.buf
1 select d.deptno, d.dname, e.ename
2 from dept d, emp e
3* where d.deptno = e.deptno (+)
SQL> /
DEPTNO DNAME ENAME
20 RESEARCH SMITH
30 SALES ALLEN
30 SALES WARD
20 RESEARCH JONES
30 SALES MARTIN
30 SALES BLAKE
10 ACCOUNTING CLARK
20 RESEARCH SCOTT
10 ACCOUNTING KING
30 SALES TURNER
20 RESEARCH ADAMS
30 SALES JAMES
20 RESEARCH FORD
10 ACCOUNTING MILLER
40 OPERATIONS
15 rows selected.
SQL> ed
Wrote file afiedt.buf
1 select d.deptno, d.dname, e.ename
2* from dept d left outer join emp e on (d.deptno = e.deptno)
SQL> /
DEPTNO DNAME ENAME
20 RESEARCH SMITH
30 SALES ALLEN
30 SALES WARD
20 RESEARCH JONES
30 SALES MARTIN
30 SALES BLAKE
10 ACCOUNTING CLARK
20 RESEARCH SCOTT
10 ACCOUNTING KING
30 SALES TURNER
20 RESEARCH ADAMS
30 SALES JAMES
20 RESEARCH FORD
10 ACCOUNTING MILLER
40 OPERATIONS
15 rows selected.
SQL> -
Select ename from emp where ename like LIKE 's%';
Hi friends,
select ename from emp where ename like LIKE 's%';
output am geting like this naseer
anusha
basha
But I want to display like this naeer anuha baha784585 wrote:
Hi friends,
select ename from emp where ename like LIKE 's%';
output am geting like this naseer
anusha
basha
But I want to display like this naeer anuha baha
Use REPLACE function:
SQL> select replace('naseer','s','') replace from dual;
REPLACE
naeerKamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
About SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WHERE PARAMETER =""
I am developing a web application based on Oacle 10g .But after the DBServe was startedup for about 5~6 hours, the max connection process exceeded. From the DB Administration Tool it shows that there were many INACTIVE Connections which executed
SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WHERE PARAMETER ='NLS_DATE_FORMAT'
But it seems that this is called by the JDBC driver, not my application. How to avoid this, or release the inactive connection?
By the way,who and when call that sql?
Thanks a lot.By the way,who and when call that sql?Also for this you can take an 10046 level 8 sql trace and format the output with sys=yes option of tkprof - http://tonguc.wordpress.com/2006/12/30/introduction-to-oracle-trace-utulity-and-understanding-the-fundamental-performance-equation/
Since we are talking about a web application you may use a database logon trigger to start sql trace for your application user, or if possible you may set sql_trace database parameter to true at instance level for a while and since you are at 10g you can use new package dbms_monitor and trcsess utility - http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#sthref2001
Best regards. -
Select data from table where field is initial
I have table that has 10 million records.
I want to select data from this table where certain date field is blank.
*SELECT * FROM table*
INTO TABLE internal table
WHERE PSTNG_DATE = BLANK.
Does anybody know how to select data from data base table when certain field is blank.
I cont select all data once and delete which i dont want, the table is big, it will blow up app server.
thanks in advance,
Sachin
Moderator: Pls do not lock the posting instead provide me the link, its disrespecting.Respect the forum rules and common sense, and you will be respected.
"how to select data from a database table when the field is blank" is very basic, and basic questions will be locked, because they have been asked many times and you can find the answer yourself with a little effort. There is nothing disrespectful about it.
Thread locked.
Thomas -
Create table bulk_load as select ename from emp where 1=2
The Above Query will create a new table using the strucure of old but there will be no data..
Kindly explain me what is meant by "where 1=2"?
Is it referring the table or column or for just testing the query??Is not a rule that you always must use 1=2... look this example:
sql >> create table t as
2 select * from all_objects;
Table created.
sql >> select count(*) from t;
COUNT(*)
43975
sql >> create table ttt as
2 select * from t where rownum=0;
Table created.
sql >> create table tt as
2 select * from t where 9=4;
Table created. -
Selecting datas from tables where tbale name is store in a row
Hi
I need to select datas from several different table (QE01, QE02, QE06, QEXXetc.).
The code of the tables I need to select from is store in another table.
Here's an example:
In the table JOURNAL, I have several entries:
01
06
21
31
These are the codes of the tables I need to select datas from:
QE01
QE06
QE21
QE31
I can't use variables in here, how could that be done ?Hi,
This should not be a question on how to query data, but rather on how to store them.
You did not mention any version, but I suggest you read about partitioning,
http://download.oracle.com/docs/cd/E11882_01/server.112/e25789/schemaob.htm#CNCPT112
Could be that especially exchange partition is interesting.
My guess is that these tables are created on the fly as part of data loads?
If so, complete that ETL process by exchanging the just loaded data into a partioned table. And your problem of what to query has disappeared.
Regards
Peter -
Select lines from DB where keys not already selected
This must have been asked many times, but I haven't been able to find an answer:
How do I best select a large number of entries from a table X where the keys of X
are not already cached in a (also large) internal table t?
There are three possibilities I can think of, one of which doesn't actually work, although
I think it should.
1. Convert t to a range table, where all entries have the form sign=E option=EQ (or
sign=I option=NE - I'm confused about the difference in meaning. Which is right?)
2. Use "for all entries". The documentation of FAE leads me to believe that this
should be possible, because the docs only talk of using logical expressions in general
with FAE, not equality specifically. However, using inequality does not give the right result,
i. e.
select * from X for all entries in t where k NE t-k
does not work. Am I missing something?
3. Do a select loop and read t before accepting a line. Although t is a hash table, this is
probably the worst as regards performance.
-- SebastianIn the 2nd option, just check the statment
select * from X into table itab for all entries in t where k NE t-k -
Hi, I have a quick question I hope someone can help me with. I'm a student and what I'm looking for should be easy but I can't find any information on it.
Here's my code, it's probably self-explanatory but to clarify I'm trying to get a list of "Captains" in the order of who has the most wins.
The problem is that the database tables have thousands of "Captains" and I'm only supposed to look at 200 specific "Captains" which have their ssn in a specific arraylist and then return the top 80 "Captains" from that selection.
Something like this...
SELECT first 80 E.name, L.ssn, COUNT(L.wins) as Wins
FROM log L, employees E
where type matches "[Captain]"
and E.ssn = L.ssn
and L.ssn IN (...arraylist...) // How do I loop through the arraylist but still return a list of the top 80 winners?
group by E.name, L.ssn
order by Wins desc;
Should I start by taking the list of social security numbers from the arraylist and insert them into a temporary table and then use that temporary table to base my selection on?
For example:
int rows = 0;
PreparedStatement ps = conn.prepareStatement("INSERT INTO TEMP captainsTemp (ssn) VALUES(?)");
Iterator i = myArrayList.iterator();
while (i.hasNext())
// Set the variables
for (int pos = 1; pos <= 63; pos++)
String s = (String)i.next();
ps.setString(pos,s);
// insert a row
rows += ps.execute();
...and then below that I could use
"SELECT * FROM captains
WHERE ssn IN (SELECT * FROM captainTemp)..."
This looks like an ugly solution and I'm not sure if it works, sessionwise..
Everything's written in Java and SQL.
If you have any thoughts on this I would be most grateful.
I should add that this is NOT a school assignment but something I'm trying to figure out for my work...
Many thanks,
sincerely,
JT.hi,
Ignore my previous response. Try out this one. It should help you.
Lets take the example of EMP table (in Oracle's SCOTT Schema). The following is the description of the table.
SQL> desc emp
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
SQL> select ename from emp;
ENAME
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
SCOTT
KING
TURNER
ADAMS
JAMES
FORD
MILLER
Say, the ArrayList contains 3 names CLARK,KING & MILLER. You want to loop through the ArrayList for the ENAME values.
First construct a string like below from the ArrayList.
"ename in 'CLARK' OR ename in 'KING' or ename in 'MILLER'";
Append this string to the normal SELECT Query
Query :
select ename from emp where ename in 'CLARK' OR ename in 'KING' or ename in 'MILLER'
Here you get the desired output & thats pretty fast because you just do it once !!!
SQL> select ename from emp where ename in 'CLARK' OR ename in 'KING' or ename in 'MILLER';
ENAME
CLARK
KING
MILLER
you can extend this to your Query also.
thanks,
Sriram -
Select from table where last character in string is numeric
Hello,
I have a table STREETS with a field called ADDRESS. I would like to select all records from streets where the last character in Address is a number.
Select ADDRESS from STREETS where regexp_like(substr(address, ?,?,), '[0-9]');
--? means that I don't know what to put in here!
I'm not sure if substr is the best approach for this, since i only want the last character and the records are of varying lengths.
Thanks!Hi,
If you want to use regular expressions:
WHERE REGEXP_LIKE ( address
, '[0-9]$'
)You can get the same results, probably more efficiently, without regular expressions:
WHERE INSTR ( '0123456789'
, SUBSTR (address, -1)
) > 0 -
Select rows from the table which don't exist in another table
Hi, in this relatively simple task I have some problem. I need to get the records from the T1 which don't exist in T2, based on some criteria.
here is my query:
select a.ordernum, sum(totchg), b.tracknum, rownum from T1 a, T2 b where 1=1 and a.ordernum not in( select ordernum from T2 ) and entrydate between to_date('06/23/2007','MM/dd/yyyy') and to_date('06/30/2007','MM/dd/yyyy') group by a.ordernum, b.tracknum, rownum
it suppose to return me "TRACKNUM" empty, however it's being returned populated.
I also tried :
select a.ordernum, sum(totchg),b.tracknum, rownum from T1 a,
T2 b where[b] not exists( select '1' from T2 where a.ordernum = b.ordernum )
and entrydate between to_date('06/23/2007','MM/dd/yyyy') and to_date('06/30/2007','MM/dd/yyyy') group by a.ordernum, b.tracknum, rownum
the results are the same.
please advise.You are trying to get a returned value field from T2 when you just said that the
records returned from Only T1 are not found in T2, therefore no T2 record to return.
You only get T1 records where the Ordernum key is not found in T2.
select ordernum, tracknum, rownum, sum(totchg)
from T1
where ordernum not in( select ordernum from T2 )
and (entrydate between to_date('06/23/2007','MM/dd/yyyy') and
to_date('06/30/2007','MM/dd/yyyy') )
group by ordernum, tracknum, rownum -
Select text from all_views returns an empty string
My application allows the user to select between the Data Provider for ODBC and the Data Provider for Oracle. (ODP)
When using the ODBC provider the statement:
Select text from all_views where view_name='MYVIEW'
returns the expected string.
If I connect via ODP however it returns an empty string.
(If I use 'Select *' it tells me the text_length is 154 in this specific case - so there is definately text available.)
I'm thinking it has something to do with the fact that the data type is LONG.
In both cases I retreive the data using rdr.GetChars(), which should work.
If I use the dbms_metadata.get_ddl function instead, it does return the string (Probably because the return type is not LONG)
Unfortunately that function only works for Views in the current schema, while the original Select works for any view.
(And I dont know what version of Oracle this function was added in - I have to support older versions too.)
Similarly, if I use one of the XML functions to retreive the text as XML it works fine.
(Again it is probably returned as a VARCHAR2 instead of a LONG.)
The strange thing is that when I created my own table containing a LONG column I was able to load and retreive data without any problems.
The problem appears to be specific to this column in all_views.
Anyone know a solution to this?
Thanks
MikeThanks that was it.
I had not seen those properties since I am working with the 'generic' objects (DbCommand rather than OracleCommand, etc.)
What is strange is that I was able to retreive data from my own LONG column WITHOUT setting this value to -1.
(It defaulted to 0 in both cases.)
The only difference was that when I retreived data from my own column I specified CommandBehaviour.SequentialAccess.
When I retreived the all_views.text column I did not specify a behaviour at all.
However the Oracle docs said that SequentialAccess is not supported ... so I guess that is not correct.
(Maybe it doesn't 'work', but it certainly seems to cause things to work differently)
Thanks
Mike -
Getting selected values from a data table
My data table gets values directly from a result set.
I went through http://balusc.blogspot.com/2006/06/using-datatables.html#top ,
however, the data table shown in this example takes values from a simple list. I have trouble in getting selected values.
Can anyone suggest how to select multiple values. here is a small code sample of what I have
SessionBean
ResultSet rs= db.retrieve_draft();
datamodel = new ResultSetDataModel();
datamodel.setWrappedData(rs);This is the JSF
<h:dataTable binding="#{Engineer.dataTable1}" headerClass="list-header" id="dataTable1"
rowClasses="list-row-even,list-row-odd" style="left: 144px; top: 192px; position: absolute"
value="#{SessionBean1.datamodel}" var="currentRow">
<h:column id="column1">
<h:outputText id="outputText77" value="#{currentRow['report_number']}"/>
<f:facet name="header">
<h:outputText id="outputText78" value="Report Number"/>
</f:facet>
</h:column>Edited by: ktip on Jul 29, 2008 11:04 AMHere is what I was doing :
This is my Session Bean (viz. SessionBean1)
private CachedRowSetDataProvider draft_infoDataProvider;
private CachedRowSetXImpl draft_RowSet;
public CachedRowSetDataProvider getDraft_info() {
return draft_infoDataProvider;
public void setDraft_info(CachedRowSetDataProvider draft_info) {
this.draft_info = draft_infoDataProvider;
public CachedRowSetXImpl getDraft_RowSet() {
return draft_RowSet;
public void setDraft_row(CachedRowSetXImpl draft_row) {
this.draft_row = draft_RowSet;
public void get_drafts()
Class.forName("com.mysql.jdbc.Driver");
String url = "jdbc:mysql://localhost:3308/test";
String dbUser = "root";
String dbPassword = "adminadmin";
con = DriverManager.getConnection(url, dbUser, dbPassword);
String sql="SELECT report_id from reports WHERE status='Draft' ";
ResultSet rs=null;
try
Statement stmt1=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
rs=stmt1.executeQuery(sql);
draft_RowSet=new CachedRowSetXImpl();
draft_RowSet.populate(rs);
draft_infoDataProvider=new CachedRowSetDataProvider(draft_RowSet);
result="ok";
catch(SQLException e)
System.out.println(e);
result="fail";
Here is my jsp page (developed in Netbeans 6.1) showing the data table
<webuijsf:table augmentTitle="false" binding="#{Engineer.table1}" clearSortButton="true" deselectMultipleButton="true"
id="table1" selectMultipleButton="true" sortPanelToggleButton="true"
style="left: 48px; top: 144px; position: absolute; width: 450px" title="Table" width="0">
<webuijsf:tableRowGroup id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.draft_infoDataProvider}" sourceVar="currentRow">
<webuijsf:tableColumn headerText="report_number" id="tableColumn1" sort="test_report.report_number">
<webuijsf:staticText id="staticText1" text="#{currentRow.value['reports.report_id]}"/>
</webuijsf:tableColumn>
</webuijsf:tableRowGroup>
</webuijsf:table>Doing all this just resulted in a javax.Naming.Exception : Data Source is null
I tested this piece of code to give me the number of rows in the underlying rowset and it worked well. But somehow I could not get to display the data. Am I missing something?
Edited by: ktip on Jul 31, 2008 1:21 PM
Maybe you are looking for
-
Dynex Component Audio/Video cable for iPhone doesn't just play music?
I just purchased Dynex Component Audio/Video cable for iPhone and it plays video, but not music. It only works when I'm using Neflix or the video component of the iPod. How do I get it to just play my music? If I run the iPod music and open Netflix t
-
924: iPhone now has Maps with location. Webclips. Can customize the home screens. You can SMS multiple people at once. Videos on iPhone now has Chapters support for videos. Steve is now demoing the locate feature. Now showing how you can send multipl
-
Is it possible to increase the size of the font preview? There is no way to really see the subtle differences between fonts with such a small preview. I am currently looking into a font manager but increasing the size of the font preview in Fireworks
-
New SpeedGrade CC will not launch or open after install
I am unable to launch or open the new SpeedGrade CC after downloading and installing on a MacPro tower (MacOS 10.8.4). I have repaired permissions, uninstalled several timeswith the Adobe Uninstaller and reinstalled several times via Creative Cloud,
-
hi, i need link some text created in muse to a html file that is not. i know that you can highlight the text, choose 'hyperlinks' and 'link to file'. i have tried this and the result is that the html file that i pointed to is copied to a folder named