How to add a prefix to SQL query tool part
When executing the installation of the tool component under Middleware11g/user_projects/domains/ucm_domain/ucm/cs/bin using the following command:
. / ComponentTool - install /scratch/u01/app/stage/VueLink/VL_For_UCM_201/VLForUCM/dms_customization/AutoVue.zip
I have the following error:
Failed to create the result set of query 'SELECT value FROM Config WHERE dSection = "DevUpdate" AND dName =' DatabaseUpgrade ". ORA-00942: table or view does not exist
The table of that configuration does not exist in my database. The table is named 'WCC_OCS. Config'.» Is it possible to customize this SQL statement to adapt to my database Setup?
I was able to connect as WCC_OCS on the database in SystemProperties tab after I have sysdba privileges account but I still get this error:
Failed to create the result set of query 'SELECT value FROM Config WHERE dSection = "DevUpdate" AND dName =' DatabaseUpgrade ". ORA-00942: table or view does not exist
The query needs to read WCC_OCS. Config. Even when I connect to SQLDeveloper as WCC_OCS I need to make this distinction pattern in my query either it attempts to return table sys.
If I run this statement to add a synonym to the DB for this table, I no longer receive the DB schema prefix error. :
CREATE A CONFIG FOR WCC_OCS SYNONYM. CONFIG;
However, after having solved the problem of schema, you receive an error when executing the installation:
There is no such thing as a 'user' workspace.
Because of a WCC bug must be updated to 12.2.1.0.0
Tags: Fusion Middleware
Similar Questions
-
How to add a 'hint' in my query to resolve the error "hash aggregation can be done."
I have a query Oracle 10 SQL that works very well in the environment of train, but fails live (presumably because of the volume). I get the error. "ORA-00600: internal error code, arguments: [32695] [hash aggregation cannot be done. Google suggests that I can use a trick to fix this if I'm luckey (i.e. "NO_USE_HASH_AGGREGATION"). How to incorperate a 'hint' in my query? (where in my query I would put the suspicion and what kind of syntax)? Thank you!!!
Optimizer tips shouln can't be used to try to solve the problems, they should be used to analyze issues.
Before attempting to apply patches of poor to an unknown cause, you'd be btter to identify what is the real problem.
ORA-00600 errors indicate an internal error and should be reported to Oracle via My Oracle Support (it is also a search tool of ORA-00600 on My Oracle Support, which can help to tell you if it is a known problem that is fixed by a solution of workaround or bug fix/patch etc..)
Do not use the tips where they should not be used. Correct the cause of the problem, not the symptom.
-
How to add the field or a query to THE field of the process send e-mail Page
Hello world
Can you help me please?
How can I add a field or a query in "to THE" field of the process to send a Page in e-mail?
I use the 4.1.0.00.32 and oracle 10g Express Application.
Hi User11131067, please update your grip via profile to something more personal.
Here's how I did it:
DECLARE
l_body CLOB.
l_to VARCHAR2 (255);
BEGIN
l_body: =.
"Thank you for your interest in the APEX_MAIL package."
|| UTL_TCP. CRLF
|| UTL_TCP. CRLF;
l_body: = l_body | "Sincerely,". UTL_TCP. CRLF;
l_body: = l_body | "Dev APEX team | UTL_TCP. CRLF;
-Get the email addresses of administrators from point of harvest
WITH the admins
AS (SELECT person_tbl.email_address_txt,
ROW_NUMBER () OVER (ORDER BY email_address_txt) rn,
COUNT (*) NTC)
OF harvest_admin_tbl, person_tbl
WHERE harvest_admin_tbl.active_ind = 'Y' - use active Admins only
-Eliminate Admin Act
AND harvest_admin_tbl.internal_employee_id <> v_payroll_id
AND harvest_admin_tbl.internal_employee_id =
person_tbl.employee_ghrs_id)
-Concatenate addresses into a single string
SELECT LTRIM (SYS_CONNECT_BY_PATH (email_address_txt, ",") ",") catvalues
IN l_to
Admins
WHERE rn = NTC
START WITH rn = 1
CONNECT BY PRIOR rn = rn - 1;
apex_mail. Send (p_to => ' [email protected]', - change to your email address)
P_FROM-online l_to
p_body-online l_body,
p_subj => 'APEX_MAIL Package - message in plain text');
END;
/
-
How to achieve this using the sql query?
Hello gurus,
I have a table like this
now my result should be like thisid name 1 a 2 b 3 c 4 d 5 e 6 f 7 g 8 h 9 i 10 j 11 k 12 l 13 m
How to achieve by sql query?id name id name id name 1 a 6 f 11 k 2 b 7 g 12 l 3 c 8 h 13 m 4 d 9 i 5 e 10 j
Thank you and best regards,
friend
Edited by: most wanted! February 22, 2012 05:55Hello
Did you mean this:
with a as (select 1 id ,'a' name from dual union all select 2 id ,'b' name from dual union all select 3 id ,'c' name from dual union all select 4 id ,'d' name from dual union all select 5 id ,'e' name from dual union all select 6 id ,'f' name from dual union all select 7 id ,'g' name from dual union all select 8 id ,'h' name from dual union all select 9 id ,'i' name from dual union all select 10 id ,'j' name from dual union all select 11 id ,'k' name from dual union all select 12 id ,'l' name from dual union all select 13 id ,'m' name from dual ) select id_1 ,name_1 ,id_2 ,name_2 ,id_3 ,name_3 from ( select id id_1 ,name name_1 ,lead(id,5) over (order by id) id_2 ,lead(name,5) over (order by id) name_2 ,lead(id,10) over (order by id) id_3 ,lead(name,10) over (order by id) name_3 ,rownum r from a ) where r <=5 D_1 NAME_1 ID_2 NAME_2 ID_3 NAME_3 ---------------------- ------ ---------------------- ------ ---------------------- ------ 1 a 6 f 11 k 2 b 7 g 12 l 3 c 8 h 13 m 4 d 9 i 5 e 10 j
Kind regards
Peter
-
How to add a menu item to new tools Panel
Have anyone knows how to add the menu item to the "new tools Panel.
For example,.
Add (Menu object > wrap distort > make) to "new tools Panel. I try many way and research, still can not solve my problem.
Does anyone have an idea which can add a menu item to new tools Panel.
Thank you.
Screenshot:
Solve the problem
Action > new Action > insert the Menu item > View button
-
How to add characters in PL/SQL in a loop
Hi friends,
I'm consuming a REST API using PL/SQL in EBS R12. I want to add all the result in a variable that is defined in the PL/SQL as VARCHAR2 (4000). but I'm unable to see all the return values. Help, please. I am adding the following:
DECLARE
buffer varchar2 (4000);
value VARCHAR2 (4000);
BEGIN
Req: = UTL_HTTP.begin_REQUEST (url);
UTL_HTTP. SET_HEADER (req, "User-Agent", "Mozilla/4.0" "");
resp: = UTL_HTTP. GET_RESPONSE (req);
LOOP
UTL_HTTP. READ_LINE (RESP, value, TRUE);
DBMS_OUTPUT. Put_line (value);
buffer: buffer = | ' ' || value;
END;
Thank you
Othmane
Jameer-k says:
Hi friends,
I'm consuming a REST API using PL/SQL in EBS R12. I want to add all the result in a variable that is defined in the PL/SQL as VARCHAR2 (4000). but I'm unable to see all the return values. Help, please. I am adding the following:
DECLARE
buffer varchar2 (4000);
value VARCHAR2 (4000);
BEGIN
Req: = UTL_HTTP.begin_REQUEST (url);
UTL_HTTP. SET_HEADER (req, "User-Agent", "Mozilla/4.0" "");
resp: = UTL_HTTP. GET_RESPONSE (req);
LOOP
UTL_HTTP. READ_LINE (RESP, value, TRUE);
DBMS_OUTPUT. Put_line (value);
buffer: buffer = | ' ' || value;
END;
Thank you
Othmane
Do not know much about UTL_HTTP because I haven't used it but two points based on your code:
- VARCHAR2 in PL/SQL maximum size is 32 KB (32767)
- VARCHAR2 in SQL maximum size is 4 k (aka 4000 not 4096).
So if you change the size of 4000 to 32767 then when you export your line you will see more of what is returned in the variable 'value '.
-
How to add a dynamic condition to query *.
Hi all
Could you please help me logic
I need only query
There are tables emp, dept
SELECT E.ENAME, D.DNAME
FROM EMP E, DEPT. D
WHERE d.DEPTNO = e.DEPTNO (+)
AND (DYNAMIC CONDITION)
LOGIC OF THE DYNAMIC CONDITION IS
IF D.DEPTNO IS E.DEPTNO THEN [E.JOB "PASSWORD"] - SEATS SHOULD BE ADDED TO THE PLACE (DYNAMIC CONDITION)
IF D.DEPTNO IS NOT THERE IN E.DEPTNO THEN [D.LOC = "LONDON"] - SEATS SHOULD BE ADDED TO THE PLACE (DYNAMIC CONDITION)
-----------------------------------
I tried below
Select e emp, dept e.ENAME, e.SAL, d.dname d
CASES where WHEN e.deptno = d.deptno then e.job = "MANAGER".
else D.loc = "LONDON".
END
But its giving error...
Please give a solution
Thanks in advance
KCSELECT E.ENAME,D.DNAME, d.loc, e.job, e.deptno FROM EMP E, DEPT D WHERE d.DEPTNO = e.DEPTNO(+) and ( (e.deptno is null and d.loc='LONDON') or (e.deptno is not null and e.job='MANAGER') );
(But it's not dynamic sql!)
-
How to get every month with SQL query?
Hello world
I want to display every month (Jan-Dec) in the 1st column and their leaders in the 2nd column, but that there is no record in JAN, Feb and March, while they do not come to the top.
Can someone please help me get JAN, FEB etc with leaders like 0?I know it's possible with the NVL function, but I don't know where to put it.
I'm really grateful for help you.
Thanks in advance.
I use oracle 10g on Windows XP.[code]
SELECT ".
CASE
WHEN b.mon = '01' THEN 'JAN' WHEN b.mon = '02' THEN 'FEB' WHEN b.mon = '03' AND 'MAR '.
WHEN b.mon = '04' THEN "APR" b.mon = WHEN '05' CAN '' MAY '' WHEN b.mon = '06' THEN 'JUN '.
WHEN b.mon = '07' THEN 'JUL' WHEN b.mon = '08' and THEN 'AUG' WHEN b.mon = '09' AND 'MS '.
WHEN b.mon = '10' and 'OCT', THEN WHEN b.mon = '11' and THEN 'NOV' WHEN b.mon = '12' AND 'DEC '.
END of month
count (*) NTC
Of
(Con.fst_name SELECT first_name, con.last_name, usr.login, USER_ID,)
App.appl_src_cd Registration_Source, to_date(usr.created,'DD-MON-YY') Created_Date,
To_char(usr.created,'MM') Lun
of usr, con siebel.s_contact siebel.s_user, siebel. S_PER_PRTNRAPPL app
where con.par_row_id = usr.row_id
and app.row_id = con.row_id
and app.appl_src_cd = 'Siebel eService.
AND TO_CHAR (usr.created, 'YYYY') =: P415_YEAR
) b
B.mon group
order by 3 desc
[/ code]
Now get the output voltage...
MONTH CNT APR 4818 JUL 4543 JUN 4295 MAY 4190 AUG 541 MAR 20 What Jan, Feb, March etc in there too with the County under the name of 0.
SELECT TO_CHAR (TO_DATE (b.mon, 'mm'), 'MY') month.
Count ()) - 1 cnt
DE)
Con.fst_name SELECT first_name,
con.last_name,
usr. Login, USER_ID,
App.appl_src_cd Registration_Source,
to_date(usr.created,'DD-mon-YY') Created_Date,
To_char(usr.created,'MM') Lun
OF siebel.s_user usr.
Con Siebel.S_CONTACT,
Siebel. S_PER_PRTNRAPPL app
WHERE con.par_row_id = usr.row_id
AND app.row_id = con.row_id
AND app.appl_src_cd = 'Siebel eService.
AND TO_CHAR (usr.created, 'YYYY') =: P415_YEAR
UNION ALL
SELECT null,
NULL,
NULL,
NULL,
NULL,
LPAD(Level,2,'0')
OF the double
CONNECT BY level<=>=>
) b
GROUP BY b.mon
ORDER BY DESC 3
SY.
-
How to modify data in "Result grid query" in Oracle SQL developer
Dear,
I would like to know how to change values directly in the query result grid.
I use Oracle SQL Developer version 4.0.3.16
Thank you
Khalil
I checked in SQL Developer 4 and I found no option to do this.
I don't think it's available. You can open the table and add filters on each column and change. Or you can add where clause as suggested the link written by Jeff that I already gave. (http://www.thatjeffsmith.com/archive/2013/06/sql-developer-im-looking-at-a-record-how-do-i-edit-it/)
Or you write update instructions.
See you soon
AJ
-
With CVI SQL Toolkit, how to add the new variable param column in a table.
Dear all:
I used the CVI Sql toolkit to create a database, but now I don't know how to add a new column to a table in variable param.
I know, to add a column with the name of constant column could be down by below:
DBImmediateSQL ((hdbc, "alter table table1 add column1 char [100]");
But if Column1 is a param variablae how can I write the code? Please advise? It will be appreciated if you could give me an example.
Best regards!
HI -.
If you look at the parameters that you pass to the SQL function, you can see that the second parameter is a string constant. In your code, you can create an array of characters (string). You can then use sprintf to programmatically determine what will be the contents of this variable. In the function call, you can put the variable instead of the literal string, and you will have a customizable SQL statement.
Hope this helps-
John M
-
How to get the value of a column in sql query?
Hi, anyone knows how to get the value of a column in sql query?
Here is my code, the value must be 1350079224397 in my PB, but I get 0
QString query ("SELECT version FROM db_version");
QVariant result = sda.execute (query);
QVariantMap versionMap = result.toList () such () .toMap ();
If (! versionMap.IsEmpty ())
{
qDebug()<"Version: "="">"Version:><>
}OK, I have the solution
QString query ("SELECT version as version FROM db_version");
-
How do I get recommendations sql query manually, its possible or not?
I'm new dba oracle and my company gives me sql optimize, if research on google and knowledge, addm can give recommendations of sql query
but I sql query and in addm can not give recommendations,
I then how sql query performance increase... ?
and the sql script to get the recommendations?
Thanks in advance
1. upgrade to oracle 11
2. (take the topgun)
Select / * + RESULT_CACHE * / a.empid, empname from
(select empid, empname from india_emp
where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
Union of all the
Select empid, empname from us_emp
where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
Union of all the
Select empid, empname from uk_emp
where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
Union of all the
Select empid, empname from uae_emp
where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
Union of all the
Select empid, empname from brazl_emp
where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
Union of all the
Select empid, empname from chine_emp
where deptno <> 10 and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
Union of all the
Select empid, empname from jpn_emp
where deptno in (54,256,362,9879,24,46) and empid NOT IN (105,202,11,45,695,646,726,8465,965,56,646,689,446)
) a
order by 2;
3. run the query 3 times.
The query will be lightning fast from the 3rd time
4. read the full performance tuning guide
http://docs.Oracle.com/CD/E11882_01/server.112/e41573/TOC.htm
-
How do I get the data of "Regulatory BOM" Formulation with SQL query output
Hello
We would like to implement a State of BiPublisher that displays "Regulation BOM" (wording-> click on TAB Formulation on exit Popup-> TAB Composition) information table.
How could get us this information with an SQL query?
Thank you
Annarosa
Hi, given 'Regulatory BOM' output of the Formulation are more complicated than expected. Attached is an example. You can test and make the appropriate changes to your report.
-
How to display time in 010403 format if the entry is transmitted as ' 1 hour, 4 minutes, 3 seconds"sql query @.
Hello
You can try:
Select lpad (regexp_substr ('1 hour, 4 minutes, 3 seconds ',' [[: digit:]] + ""), 2, '0')
|| LPAD (regexp_substr ('1 hour, 4 minutes, 3 seconds ',' [[: digit:]] +', 1, 2), 2, '0')
|| LPAD (regexp_substr ('1 hour, 4 minutes, 3 seconds ',' [[: digit:]] +' 1, 3), 2, '0')
Double;
but this requires maximum 99 hours/minutes/seconds ago in your entry.
-
How to select only the part by using the sql query
Hello
I have the task to retrieve only the integral of the input text by using the sql query.
The entry is as follows
Entry for the price setting
$12.5 (FYI without space)
$ 12.5 (FYI single space)
$ 12.5 (double space FYI)
$12.5 (FYI multiple space)
$12.5 (FYI multiple space)
Output expected of 12.5
The price is the type varchar2 column in the store_price table.
Please let me know how to achieve this.
Thanks in advance.
If this is always the case that you get a $ followed by a number of places, you can use something like:
Select to_number (ltrim ('$ 12.5',' $')) DOUBLE
or
SELECT ltrim ('$ 12.5',' $') OF double
but take care of your nls_numeric_character settings if they are defined so that, for example, a comma is the decimal separator, you will have a problem.
HTH
Maybe you are looking for
-
Java Plug-ins detected as not up to date.
After running the page to check if my plugins are up-to-date, I thought Java (TM) Platform SE 7 U9 and Java Deployment Toolkit 7.0.90.5 are obsolete. However, check the version of Java, the Web page displays "You recommended Java installed (Version 7
-
Is why Firefox displays the passwords that need to be hidden?
By connecting to several websites I start typing my password and it is displayed in clear text. It should be hidden, but is not!
-
SPORDER.dll was not found.
-
Photo explosion deluxe doesn't does not work with windows XP, why
I tried to install photo deluxe explosion 2002 on my windows XP computer. It loads but does not open why
-
Problem with the configuration of the router
Hello I use the WRT160Nv2 and want to redirect a port, but when I go to advanced settings in the EasyLink Advisor and log on to the router of the page it is not loading properly page. Here is a picture of what it looks like: http://img201.imageshack.