Problem with Autoconfig on Oracle 11i
HelloI installed the Oracle 11i (11.5.10.2) with Oracle 9.2.0.6.0 in single node mode. The applications are on CU2 is autoconfig enabled. I renamed the appsutil on DB level and what follows on the applications
Perl $AD_TOP/bin/admkappsutil.pl
Starting from the generation of appsutil.zip
Logfile located at /u01/app/oracle/VIS/visappl/admin/log/MakeAppsUtil_03160452.log
Exit to /u01/app/oracle/VIS/visappl/admin/out/appsutil.zip
MakeAppsUtil completed successfully.
I moved over the appsutil.zip to the RDBMS Oracle Home and unziped the appsutil.zip, but the problem is that I am only able to find the following directories, any directory script or the context file etc.
Ben pilot html java support perl sql model xml
where, as in the directory of apputil Moose, I have the following directories / files
bin clone pilot html install java media model VIS_ocapma.xml perl scripts sql temp outgoing xml journal
It comes to the new installation of 11.5.10.2. Please notify.
Thank you
-Samar
.
Published by: user4314207 on March 16, 2009 15:00
Hi Samar,
You have the bin directory, which is sufficient. Just follow the steps described in the note mentioned above to create the context file (using 'perl adbldxml.pl level = db'), then you need to run adconfig.sh (which is also in the bin directory) and this will create the scripts folder.
Please read the note again once, it should solve the problem.
Kind regards
Hussein
Tags: Oracle Applications
Similar Questions
-
Paths multiple problem with PowerVault MD3200i + Oracle Enterprise Linux (5,7)
Hello
I'm trying to configure MPIO on a host (running Oracle Enterprise Linux Server 5.7) connected to an Powervault MD3200i. I have a few unexpected problems with/dev/dm-0 missing after reboot.
I configured 3 virtual disks (RAID 1) with MPIO. 3 devices have been created (/ dev/dm-0, / dev/dm-1 and/dev/dm-2). If I mount them manually, they work very well, so I've added to the fstab. After a reboot, I checked that/dev/dm-1 and/dev/dm-2 have been automatically but is not/dev/dm-0. In fact, the/dev/dm-0 has disappeared from the directory of the device (!)
If I rinse 'multipath f' and ' multipath - v2 "the device gets recreated, but disappears on the"
next reboot again. How can I resolve this behavior? Can anyone help?Thanks in advance.
See you soon
I thought about it... the problem is that I had the wrong specified dev in fstab.
Should I use the devices in/dev/map /... it worked immediately.
-
Problem with LOV in Oracle forms 10g when running on the Web
Dear
I am facing problem in displaying LOV under Oracle developer 10g on the web.
When I press F9 nothing appears on the screen, but in the taskbar, it displays a list of values.
The query I used in the record group executed in SQL * more and it is there no problem with him.
What all I need to do, pls help me to solve the problem.
Thank youHello
You are welcome. :)
whenever the issue is resolved, please mark it as correct and useful so that others may know what is the correct answer.
and take a look at the Label of ForumsKind regards
Manu.
-
Problem with NVL in Oracle 10 g version 10.2.0.1.0
Hello
I am facing a problem with NVL. I have two configurations one with version 10g 10.2.0.1.0, UAT and other with 10.2.0.3.0.
I defined a function (SQL written below). Both configurations have the same defined function and I'm passing the same value/setting as well. But, I get different results on both configurations.
Pls let me know the reasons... .to this strange behavior of function, I think it's because of the NVL
Function
CREATE OR REPLACE FUNCTION Fn_Dt_Get_amnt (NUMBER of N_EXP_COVERED_AMT,
V_SRC_SYSTEM_ID varchar2,
NUMBER OF N_UNDRAWN_AMT_LCY
NUMBER OF N_EXP_LIMIT_NCY
NUMBER OF N_CCF_PERCENT
NUMBER OF N_EXP_AMT_LCY
p_undrawn_amt varchar2)
+ RETURN VARCHAR2 AS +.
+ UNDRAWN_AMT NUMERIC (22.3). +
BEGIN
IF P_UNDRAWN_AMT IN ('EXP_COVERED')
THEN
IF (UPPER (V_SRC_SYSTEM_ID) IN ("UBS"))
THEN
IF (N_EXP_AMT_LCY (case when NVL(N_UNDRAWN_AMT_LCY,0) < 0 +))
THEN 0
of other NVL(N_UNDRAWN_AMT_LCY,0)
(END) * NVL(N_CCF_PERCENT,0)) < N_EXP_COVERED_AMT
THEN
UNDRAWN_AMT: = (N_EXP_AMT_LCY (+)
-case when NVL(N_UNDRAWN_AMT_LCY,0) < 0
THEN 0
OF OTHER NVL(N_UNDRAWN_AMT_LCY,0)
(END) * NVL(N_CCF_PERCENT,0));
ON THE OTHER
UNDRAWN_AMT: = N_EXP_COVERED_AMT;
END IF;
ELSIF (UPPER (V_SRC_SYSTEM_ID) ("VP", "FW", "FN"))
THEN
IF NVL(N_EXP_AMT_LCY,0) (CASE WHEN (NVL(N_EXP_LIMIT_NCY,0)-NVL(N_EXP_AMT_LCY,0)) < 0 +)
THEN 0
ELSE (NVL(N_EXP_LIMIT_NCY,0)-NVL(N_EXP_AMT_LCY,0))
END) * NVL(N_CCF_PERCENT,0) < N_EXP_COVERED_AMT
THEN
UNDRAWN_AMT: = (NVL(N_EXP_AMT_LCY,0)(+)
CASE WHEN (NVL(N_EXP_LIMIT_NCY,0)-NVL(N_EXP_AMT_LCY,0)) < 0
THEN 0
ELSE (NVL(N_EXP_LIMIT_NCY,0)-NVL(N_EXP_AMT_LCY,0))
(END) * NVL(N_CCF_PERCENT,0));
ON THE OTHER
UNDRAWN_AMT: = N_EXP_COVERED_AMT;
END IF;
END IF;
ELSIF P_UNDRAWN_AMT IN ('NO')
THEN
IF UPPER (V_SRC_SYSTEM_ID) IN ("UBS")
THEN
UNDRAWN_AMT: = (CASE WHEN NVL(N_UNDRAWN_AMT_LCY,0) < 0
THEN 0
OF OTHER NVL(N_UNDRAWN_AMT_LCY,0)
(END);
ELSIF (V_SRC_SYSTEM_ID) UPPER IN ("VP", "FW", "FN")
THEN
UNDRAWN_AMT: = (CASE WHEN (NVL(N_EXP_LIMIT_NCY,0)-NVL(N_EXP_AMT_LCY,0)) < 0
THEN 0
ELSE (NVL(N_EXP_LIMIT_NCY,0)-NVL(N_EXP_AMT_LCY,0))
(END);
END IF;
END IF;
RETURN UNDRAWN_AMT;
END Fn_Dt_Get_amnt;
Setting run
Oracle 10g 10.2.0.3.0
SELECT FN_DT_GET_AMNT(1002872,'FW',699737.78,752154,0.5,52416.22,'EXP_COVERED')
the double - power - 402285.11
Oracle 10g 10.2.0.1.0
SELECT FN_DT_GET_AMNT(1002872,'FW',699737.78,752154,0.5,52416.22,'EXP_COVERED')
the double - power - 1002872I think the problem is with NVL, such that the code works fine with Coalesce on the two configurations. Can someone explain why?
It is a bug, as evidenced by the test case I posted.
Apparently when multiple NVLs are used with the CASE in the same expression.Works fine in the following versions:
10.2.0.4
10.2.0.3
9.0.1.1.1 -
Impdp problem with disconnection of Oracle (without recovery)
Hi all
I am trying to import a data dump generated from an Oracle Enterprise Manager 10.2.0.4.0 on a server unix with the following command:
expdp mc/XXX DIRECTORY = DUMPFILE EXPORT_DIR = SLTN-MCEXPORT-2010-07 - 22.dmp PATTERNS = MC LOGFILE = SLTN-MCEXPORT-2010-07 - 22.log
I want to import into oracle XE 10 g (10.2.0.1.0) on a windows server. That's why I do the following:
Impdp mc/xxx DIRECTORY = DUMPFILE EXPORT_DIR = SLTN-MCEXPORT-2010-07 - 22.dmp PATTERNS = MC LOGFILE = SLTN-MCIMPORT-2010-07 - 22.log
I had to manually create TABLESPACE MC_DATA: 'MC_DATA' of CREATE TABLESPACE DATAFILE 'D:\OracleHisRuns\Dumps\SLTN-MCEXPORT-2010-07-22.dmp ';
Then a table fails MC. CURVEPOINTS
And finally we are disconnected from Oracle
The determined type SCHEMA_EXPORT/TABLE/INDEX/INDEX processing
UDI-00008 operation error 3113 and 3114 error.
and I can't get back. I again install Oracle XE.
Anyone know why this is happening? Is it a memory problem? Or is there a problem when the user, the tablespace is created next to me?
Maybe the export and import between these two Oracle database versions are not compatible?
Any help would be greatly appreciated.
Many thanks in advance,
Thomas
Please find the journal that I have:
D:\COSMOS_BATCH_RUNNER\Automation_oracle\Scripts\IMPORT DMP > impdp mc/mc DIRECTOR
Y = DUMPFILE EXPORT_DIR = SLTN-MCEXPORT-2010-07 - 22.dmp PATTERNS = MC LOGFILE = SLTN-MCEXP
ORT-2010-07 - 22.log
Import: Release 10.2.0.1.0 - Production on Thursday, July 22, 2010 17:35:36
Copyright (c) 2003, 2005, Oracle. All rights reserved.
ConnectΘ α: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Master table 'MC '. "' SYS_IMPORT_SCHEMA_01 ' chargΘe/dΘchargΘe with succΦs
DΘmarrage of 'MC '. "" SYS_IMPORT_SCHEMA_01 ": mc / * DIRECTORY = DUMP EXPORT_DIR
FILE = SLTN-MCEXPORT-2010-07 - 22.dmp PATTERNS = MC LOGFILE = SLTN-MCEXPORT-2010-07 - 22.lo
g
Treatment of the determined type SCHEMA_EXPORT/USER
ORA-31684: the USER object type: 'MC' is dΘjα
The determined type SCHEMA_EXPORT/SYSTEM_GRANT processing
The determined type SCHEMA_EXPORT/ROLE_GRANT processing
The determined type SCHEMA_EXPORT/DEFAULT_ROLE processing
The determined type SCHEMA_EXPORT/TABLESPACE_QUOTA processing
Treatment of the determined type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Treatment of the determined type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
The determined type SCHEMA_EXPORT/TABLE/TABLE processing
Treatment of the determined type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-31693: failed loading/dΘchargement of the donnΘes of table object 'MC '.
'CURVE_POINTS '; the object is ignorΘ due to the error:
ORA-02354: error during export/import of donnΘes
ORA-02368: the file is not valid for this load operation
. . import: "MC". "' BLOCKORDER_INTERVAL_RESULTS ' 46,54 MB 2280571 lines
. . import: "MC". "' BLOCKORDER_INTERVALS ' 19.54 MB 1359850 lines
. . import: "MC". "' BLOCKORDER_HEADERS ' 6,162 MB 149683 lines
. . import: "MC". "' BLOCKORDER_RESULTS ' 246805 lines 6,205 MB
. . import: "MC". "' PRELIMINARY_RESULTS ' lines 4,247 58248 MB
. . import: "MC". "' ALGORITHM_EVENT_LOG ' lines 1,689 MB 20388
. . import: "MC". "' CURVE_HEADERS ' 1,816 MB 73568 lines
. . import: "MC". "' LINE_RESULTS ' lines 1,937 58248 MB
. . import: "MC". "' OS_HISTORYSTEP ' lines 2,155 MB 21460
. . import: "MC". "' SESSION_ALGORITHMPARAMETERS ' 1,741 MB 57656 lines
. . import: "MC". "' LINE_CAPACITIES ' lines 1,311 46883 MB
. . import: "MC". "' MSG_TRANSMISSION_LOGS ' 6464 lines 1,143 MB
. . import: "MC". "' FINAL_PRICE_POSITIONS ' lines 396,4 16428 KB
. . import: "MC". "' OS_CURRENTSTEP ' 7456 lines 348,4 KB
. . import: "MC". "" REPORTATCVALUES "254,5 Ko 12000 lines
. . import: "MC". "' BUSINESS_STEP_SESSION_REPORTS ' 220,7 lines 2852 KB
. . import: "MC". "' PTDF_MATRIX_FACTORS ' lines of 239,6 12612 KB
. . import: "MC". "' SESSION_BIDDINGAREAS ' 207 KB 2648 lines
. . import: "MC". "' ALGORITHM_DETAILED_LOG ' 526 lines 52,85 KB
. . import: "MC". "' ALGORITHM_SOLUTION_LOG ' 607 lines 55,23 KB
. . import: "MC". "' AUDIT_LOGS ' 69,25 lines 1516 KB
. . import: "MC". "' BUSINESS_STEP_REPORT_COMMENTS ' 62,46 lines 2821 KB
. . import: "MC". "' OS_WFENTRY ' 45,38 lines 1020 KB
. . import: "MC". "' PTDF_MATRIX_CONSTRAINTS ' 3153 lines 59.75 KB
. . import: "MC". "' SESSIONS ' 679 KB 61,64 lines
. . import: "MC". "' SESSION_LINES ' 77,58 lines 2648 KB
. . import: "MC". "' ALGORITHM_PARAMETERS ' lines 7,937 84 KB
. . import: "MC". "" ALGORITHM_SESSION_LOG "317 lines 19.20 KB
. . import: "MC". "' BALANCING_AREAS ' 6,320 KB 1 lines
. . import: "MC". "' BIDDING_AREAS ' 10.03 KB 4 lines
. . import: "MC". "' The LINES ' 7,140 KB 4 lines
. . import: "MC". "' LINE_CAPACITIES_STATIC ' lines 7,601 96 KB
. . import: "MC". "" MAPPING_CONSTRAINTID_ROWID "171 lines 11,17 KB
. . import: "MC". "' OUTPUTCHECKS ' 419 lines 37.96 KB
. . import: "MC". "' PART ' 6,257 KB 9 lines
. . import: "MC". "' PERIPHERAL_SYSTEMS ' 8,851 KB 9 lines
. . import: "MC". "' PTDF_MATRIX_HEADERS ' lines 7,195 72 KB
. . import: "MC". "' SESSION_BALANCINGAREAS ' 662 lines 32,71 KB
. . import: "MC". "" SESSION_REPORTS "135 lines 29,89 KB
. . import: "MC". "' SESSION_REPORT_COMMENTS ' 128 lines 7,007 KB
. . import: "MC". "' SYSTEM_PARAMETERS ' 27 lines 6.5 KB
. . import: "MC". "" USERS "33 lines 11,71 KB
. . import: "MC". "" USER_SCRATCH_CARD_DETAILS "11 lines 11.51 KB
. . import: "MC". "" BLOCKORDER_EXCLUSIVEGROUPS "0 KB 0 rows
. . import: "MC". "" BLOCKORDER_LINKS "0 KB 0 rows
. . import: "MC". "" MATRIXROWRESULTS "0 KB 0 rows
. . import: "MC". "" MSG_TRANSMISSION_ERROR_LOGS "0 KB 0 rows
The determined type SCHEMA_EXPORT/TABLE/INDEX/INDEX processing
UDI-00008: the opΘration a gΘnΘrΘ the ORACLE 3113 error
ORA-03113: end of file on channel communication
UDI-00008: the opΘration a gΘnΘrΘ error ORACLE 3114
ORA-03114: not connectΘ α ORACLE
DMP D:\COSMOS_BATCH_RUNNER\Automation_oracle\Scripts\IMPORT >Hello
I think you're confusing the creation of storage with the expdp dumpfile. You tried to add the dumpfile to the database as a data file, and then it was corrupted.What you need to do is add a new space of tables with a brand new file - nothing to do with the dumpfile.
And then perform the import with the dumpfile - you will probably need to this regenerate your source system.
See you soon,.
Harry -
Problem with: review of Oracle Database 11 g Administrator Certified Associate 1Z-052
Hello
I need your help.
I spent "1Z0-007 Introduction to Oracle9i: SQL ' review and I planned «to Oracle Database 11 g Administrator Certified Associate 1Z-052"exam before 31.jul.2013 (before the date of the exam 1Z0-007 expiry).»
But I needed to change the date of 1Z-052 exam at 19.august.2013.
My question: can I take the exam 1Z-052 (19.aug.2013) even if my screening - expired after 31.jul.2013?
Thank you in advance.
1Z0 - 007 retirement has No effect on those who have already passed the exam. It simply means that the test 1Z0-007 is no longer possible to plan. I have to discuss more in detail in the following article:
-
Problems with emctl in oracle 10.2.0.4
Hello
I'm trying to get OEM DB Console running for a database on a server, that I just inherited the previous s/n. I get this error when I try emctl on the command line:
You can see that emctl is looking for "/ app/oracle /...» «and s/n changed the directory "app/oracle10g /...» »emctl /app/oracle10g/product/10.2.0/bin/emctl: line 330: cd: /app/oracle/product/10.2.0: No such file or directory /app/oracle10g/product/10.2.0/bin/emctl: line 332: /app/oracle/product/10.2.0/perl/bin/perl: No such file or directory
When I look in the server that is a little more seems that this DBA created the Oracle home as a copy from another server. They did not use the process of "Clone". The OEM SYSMAN directory is to another server:
To make this more fun way, it's a production server./app/oracle10g/product/10.2.0/otherserver.mycomp.com/sysman/config
No idea how I can get OEM DB Console running?I got it. Once I realized that the emctl is a script I edited just the ORACLE_HOME in the scripts. Ditto for emca.
-
Problem with database/database Oracle Tuning
Finally manged to get dbms_workload_replay working, now I have another problem, when I run this command
declare l_report clob;
Start
dbms_workload_replay.compare_period_report (replay_id = > 11,
replay_id2 = > null,
format = > dbms_workload_replay.type_html,
result = > l_report);
end;
I get the error
ERROR at line 3:
ORA-06550: line 3, column 3:
PLS-00306: wrong number or types of arguments in the call to
+ 'COMPARE_PERIOD_REPORT ' +.
ORA-06550: line 3, column 3:
PL/SQL: Statement ignored
Any ideas?Your first parameter must be named replay_id1 not replay_id.
I hope this helps!
As always check the documentation: Procédure COMPARE_PERIOD_REPORT
-
Problem with cursor query (Oracle 8i)
Hi all
The following query works perfectly well if I test it in my development environment
However, when I try to include it in my package (where it is used in a slider) I get a PLS-00103: encountered the symbol "SELECT" when expecting one of the following numbers: (- + mod null other < an ID > etc.)SELECT dt, (SELECT 'Y' FROM dual WHERE EXISTS (SELECT 'x' FROM top_days t WHERE t.date = dt)) FROM (SELECT to_date(p_date_start, 'dd-mm-yyyy') + LEVEL - 1 dt FROM dual CONNECT BY LEVEL <= to_date(p_date_end, 'dd-mm-yyyy') - to_date(p_date_start, 'dd-mm-yyyy') + 1 AND PRIOR dbms_random.value IS NOT NULL) --workaround for oracle 8i , top_days t WHERE dt = t.date(+) ORDER BY dt;
Is there something special I don't know for Oracle 8i which prevents me from using this query in a slider? Or am I just missing something blatantly obvious?CURSOR c_holidays IS SELECT dt, (SELECT 'Y' FROM dual WHERE EXISTS (SELECT 'x' FROM top_days t WHERE t.date = dt)) FROM (SELECT to_date(p_date_start, 'dd-mm-yyyy') + LEVEL - 1 dt FROM dual CONNECT BY LEVEL <= to_date(p_date_end, 'dd-mm-yyyy') - to_date(p_date_start, 'dd-mm-yyyy') + 1 AND PRIOR dbms_random.value IS NOT NULL) --workaround for oracle 8i , top_days t WHERE dt = t.date(+) ORDER BY dt;
Note: p_date_start and p_date_end are parameters that are filled in the service
FYI: Oracle 8i release version 8.1.7.4.1 and PL/SQL Release 8.1.7.4.0Scalar subqueries in the select list have been introduced in SQL 8i but not in PL/SQL 8i. The only solution to use subqueries in the select list in PL/SQL 8i is dynamic SQL:
OPEN v_ref_cursor FOR ' SELECT dt, (SELECT 'Y' FROM dual WHERE EXISTS (SELECT 'x' FROM top_days t WHERE t.date = dt)) FROM (SELECT to_date(p_date_start, 'dd-mm-yyyy') + LEVEL - 1 dt FROM dual CONNECT BY LEVEL <= to_date(p_date_end, 'dd-mm-yyyy') - to_date(p_date_start, 'dd-mm-yyyy') + 1 AND PRIOR dbms_random.value IS NOT NULL) --workaround for oracle 8i , top_days t WHERE dt = t.date(+) ORDER BY dt';
SY.
-
Problem with form of Oracle function
Hi all
I built various forms in Oracle Financials, but when I click in the menu option this error "is not available to this responsibility functions. Change responsibilities. or contact your system administrator. I can't see the form on the screen.
Please, I need your help.
Cordially Mariano. -.Hello
Did you register this custom responsibility a custom form?
You are able to access other forms customized to the same responsibility? If this is not the case, make sure that your CUSTOM_TOP is defined in the application env file and bounce application services.
Note: 305792.1 - feature is not available for this error of responsibility after creating and saving a new form
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=305792.1Note: 553014.1 - R12 error "Feature is not available this responsibility" when trying to access Custom Form
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=553014.1Kind regards
Hussein -
Problem with MERGE in Oracle 9i R2
CREATE TABLE SUBRONOW_LOAD_LOG
(
LOG_ID NUMBER (10) NOT NULL,
PROCESSED_FLG VARCHAR2 (1 BYTE) NOT NULL,
DATE OF SN_LOAD_START_DATE,
DATE OF SN_LOAD_END_DATE,
DATE OF ST_LOAD_START_DATE,
DATE OF ST_LOAD_END_DATE,
STATUS NVARCHAR2 (20).
DESCRIPTION VARCHAR2 (30 BYTE)
);
MERGE INTO subronow_load_log JOURNAL
With the HELP of DOUBLE d
WE (log_id & LOG.log_id = AND & e_count > 0)
WHEN MATCHED THEN
UPDATE
SET LOG.processed_flg = 'P '.
WHEN NOT MATCHED THEN
INSERT (LOG.log_id, LOG.processed_flg, LOG.status)
VALUES (subronow_load_log_id_seq. NEXTVAL, 'P', 'IN PROGRESS');
SQL > MERGE IN subronow_load_log JOURNAL
2 with the HELP of DOUBLE d
3. WE (log_id & LOG.log_id = AND & e_count > 0)
4. WHEN MATCHED THEN
UPDATE 5
6 SET LOG.processed_flg = 'P '.
7 WHEN NOT MATCHED THEN
8 INSERT (LOG.log_id, LOG.processed_flg, LOG.status)
9 VALUES (subronow_load_log_id_seq. NEXTVAL, 'P', 'IN PROGRESS');
Enter the value for log_id: 85
Enter the value of e_count: 9
old 3: WE (log_id & LOG.log_id = AND & e_count > 0)
new 3: WE (LOG.log_id = 85 AND 9 > 0)
0 lines merged.
SQL > /.
Enter the value for log_id: 27
Enter the value of e_count: 5
old 3: WE (log_id & LOG.log_id = AND & e_count > 0)
new 3: WE (LOG.log_id = 27 AND 5 > 0)
1 row merged.
Update the above statement to merge part works fine.
but the INSERT statement doesnot work.
Can you please help me in this regard?With the HELP of DOUBLE d
WE (log_id & LOG.log_id = AND & e_count > 0)It should be:
USING (select &log_id as log_id, &e_count as e_count from DUAL) d ON (LOG.log_id = d.log_id AND d.e_count > 0)
Nicolas.
-
Hello world
I have this code
DECLARE
XML DBMS_XMLQUERY. CTXTYPE;
CLOB RESULTS;
BEGIN
XML: = DBMS_XMLQUERY. NEWCONTEXT (')
Select the CODE of D.CDPROVXXXX, D.DSPROVXXXX DESCRIPTION,
cursor (select E.CDPTOVENTA PTO_SALE
of e MPTOVENTA
where E.CDPROVXXXX = d.CDPROVXXXX) PROVINCES
MPROVINCIA d
where rownum < 2');
DBMS_XMLQUERY. SETROWTAG (XML, 'MEMBER');
DBMS_XMLQUERY. SETROWSETTAG (XML, "MEMBER");
RESULTS: = DBMS_XMLQUERY. GETXML (XML);
INSERT INTO TABLA_CLOB VALUES (RESULTS);
DBMS_XMLQUERY. CLOSECONTEXT (XML);
END;
But I need the result without '_ROW = 'X' num' and '_ROW.
How to do this?Well, obviously, you have to adapt the style sheet to your case.
In what you have tried, she always makes reference the names I used in my examples...What follows should be OK:
DECLARE ctx dbms_xmlgen.ctxType; sqlstr varchar2(4000) := 'select D.CDPROVXXXX CODE, D.DSPROVXXXX DESCRIPTION, cursor(select E.CDPTOVENTA PTO_SALE from MPTOVENTA e where E.CDPROVXXXX = d.CDPROVXXXX) PROVINCES from MPROVINCIA D where rownum <2'; res clob; xsl xmltype := xmltype( '
-
Problem with client_text_io (WEBUTIL)
I have a problem with WEBUTIL for Oracle 10 g, I need to generate files with 30,000 lines or more, but the procedures only client_text_io.put or client_text_io.put_line grid between 10,000 and 16,000 lines and reset the file, how can I solve this problem? I explain, if I need to save 30,000 lines in a file, with webutil client_text_io show only the last 14,000 lines of the block of data.
The block of code that I use is:
--*********************************
go_block ('ST');
EXECUTE_QUERY;
PREMIER_ENREGISTREMENT;
IF: ST. REGISTRO IS NOT NULL THEN
tArchivo: = client_text_io. FOPEN (vDestino, 'W');
client_text_io. Put_line (tArchivo,: ST.) REGISTRO);
Contador: = 1;
END IF;
NEXT_RECORD;
LOOP
IF Contador = 0 THEN
tArchivo: = client_text_io. FOPEN (vDestino, 'W');
END IF;
IF: ST. REGISTRO IS NOT NULL THEN
client_text_io. Put_line (tArchivo,: ST.) REGISTRO);
Contador: = Contador + 1;
vRegistro: =: ST. REGISTRO;
END IF;
WHEN THE OUTPUT: SYSTEM. LAST_RECORD = "TRUE";
NEXT_RECORD;
END LOOP;
IF Contador > 0 THEN
client_text_io.fclose (tArchivo);
MESSAGE ("generación terminada,' | ') To_char (Contador) | "St Procesados");
END IF;
--*********************************
"Contador" show me 28,436 lines, but the file doesn't show me the last 11.981.
Plese help me, thanks a lot.I don't know if this is a solution for you, but it may be useful:
-Create the file on the server applications using TEXT_IO instead of CLIENT_TEXT_IO. This will considerably accelerate the creation of files. Maybe he has solved the problem with the number of lines.
-After that the creation of files completed, transfer the file from the application server to your customer with WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS -
Problem Manager of the Oracle Applications after cloning 11i
Hi all
After cloning ebs 11.5.10.2 from AIX 5.3 to AIX 6.1, I have problem with OAM.
When I call OAM, after logging in, I get a blank page with Oracle icon in the upper left.
It seems that everything works fine.
Acces_log, error_log is not an error message.
Really appreciate your help
Thank you
BorisI have another question.
Is it posible to install IAS 10 g (10.1.2) on the same server where is installed EBS 11.5.10.2. OPERATING SYSTEM: AIX 6.1It is possible (provided that install you in the new ORACLE_HOMEs and you have sufficient resources on the server), but this is not recommended.
Installation of Oracle Application Server 10 g with Oracle E-Business Suite Release 11i [ID 233436.1]
Oracle Application Server 10g with Oracle E-Business Suite Release 11i troubleshooting [ID 295606.1]
Oracle Application Server with Oracle E-Business Suite Release 11i FAQ [ID 186981.1]Thank you
Hussein -
What is the problem with my Oracle reports parameter?
Hello
We use a PL SQL package that allows the user to select the report you want Oracle and associated parameters. While the control is passed to Oracle 11 g reports.
The requirement of one of the reports is to enable more detailed codes be selected by the user and then shown. The detailed code is an alphanumeric field that can hold between 4 and 6 characters.
If my data model looks like this
SELECT student_id
FROM my_view
WHERE detail_code IN :p_detail_code;
and the parameter that I'm passing to Oracle reports looks like this (when I view the source HTML code)
& p_detail_code =('1001','1002')
so no record is selected.
However, if my data model looks like this, I get the records you want:
SELECT student_id
FROM my_view
WHERE detail_code IN ('1001', '1002');
We have Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production.
Please tell me what is the problem with my setting. Thanks a lot for your help.
This isn't how you can use in. See this example on how to solve it with the digital settings. If your setting is a character, you need to change this.
In fact, when you simply enter 1,2,3 as an input parameter, you actually create this query:
Select *.
from my_table
where num_column in ("1,2,3")
Use rather a lexical parameter:
Select *.
from my_table
& p_where
In the parameter after relaxation shape, build the lexical like this:
:p_where := 'where num_column in ('||:p_param||')';
Maybe you are looking for
-
iPad iOS 3 9.21 freezes, slow, requires reset
freezing of the iPad, slow, requires very slow reset
-
Apple TV remote disconnects and reconnects constantly!
I have the new Apple TV and recently, I get a message to display on the remote control is disconnected and then a few seconds later reconnects. This happens even if the remote control is sitting on a table intact. I have restored the Apple TV to fa
-
I like the idea of Sticky Notes, but why are there no easy way to print? I can always copy the text in Word or WordPad, but it seems like an extra step that should not be necessary. If you right-click on a note, you can change the color of the note
-
Dear all,I'm working on a query that needs complex condition, could someone can help me what function or statement to have to use in this test?This is the query:SELECT MAIN_ICODE,GROUP_ICODE,SUB_ICODE,SUB_IDESC,UNIT_PRICE,NVL (BAL_QTY, 0) BAL_QTY,TTY
-
"Kan het niet initialiseren installatieprogramma installation.
Setup kan het instalatieprogramma niet initialiseren