Impdp problem with disconnection of Oracle (without recovery)
Hi allI 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
Tags: Database
Similar Questions
-
problem with the yellow triangle without preventing Internet access
problem with the yellow triangle without preventing Internet access.in across the network!
all PC go to the internet through TMG and some computers work very well and most of the computers triangle shows yellow and always go online, but the connection it needs to slow down, I do everything from restarting all switches and install new TMG and always exist and place on another line to outside the firewall problem disappear?
What can I do :(Hello
I advise you to follow the link below for Tech Net where your social networking question will be answered by IT pros.
You can post/search here
hope this helps,
B Eddie -
IMPDP-problem with Oracle 11g XE
Hello
I am trying to import a dump file of the Oracle 11 g R2 database Oracle 11 g XE. I created the directory and everything starts very well. But after a few seconds, impdp stops with the following error message:
C:\users\administrator > impdp dumpfile = exp_full.dmp IMP_DIR = system directory
Import: Release 11.2.0.2.0 - Production on Dez Di 27 11:27:33 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Password:
Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
UDI-31626: operation there was error ORACLE 31626
ORA-31626: there is no job
ORA-39086: cannot retrieve information about jobs
ORA-06512: at "SYS." DBMS_DATAPUMP', line 3326
ORA-06512: at "SYS." DBMS_DATAPUMP', line 4551
ORA-06512: at line 1
Somebody has seen this before or anyone able to help out me? I tried SYS, SYSTEM connection and also tried complete imports or only certain schema imports, with no luck.
Best regards
JürgenEdition and version (full version in five characters please, not marketing label) source of database export?
The impdp session produced something else? What does the last lines of the log output to say, other than what is posted above?
What happens if you export and import the specific schema only?
Also:
Impdp help = ySearch the description for the EXCLUDE parameter.
Published by: orafad on December 27, 2011 13:10
-
Problems with product for Satellite L450 recovery
Hello
I had a big problem with my L450 D and was advised by the provider of the guarantee to use the product recovery disc. I did it but I can't pass the following command:
x:\Windows\System32 >
Can someone tell me what this means and how I can get past to continue with the recovery of the product on my laptop please?
Thank you very much
Hello
have you tried to restore from image of hard drive?
http://forums.computers.Toshiba-Europe.com/forums/Ann.jspa?annID=58
-
Problem with disconnecting USB 3.0 HDTB110EK3BA
Hello
have a problem that my Toshiba HDTB110EK3BA 1 TB disconnect USB 3.0. The drive to disconnect after 5-10 Minutes.
USB 2.0 I have no problem.Any proposed solution.
Running W7 64-bit system
Best regards
Duce4711Your Toshiba external HARD drive HDTB110EK3BA supports the USB 3.0 standard and should work just fine in USB 3.0 port.
But as you say; the HARD drive works fine in USB 2.0.
That's why I think that there is a problem with the HARD drive but with the USB 3.0 port.Maybe the USB 3.0 driver should be updated?
In some cases, windows would have turned off the USB devices connected in order to safe.This setting can be disabled by:
Device Manager-> USB game controllers, sounds-> USB hub / properties-> tab power management controllerOption: leave the device connected to a safe food supply system should always be disabled.
-
problem with partition of hard drive recovery
Hello, e
I use a notebook hp Pavilion with windows 8 inside g6.
I am not able to use the recovery partition to restore my laptop. whenever I try the Recovery Manager using recovery hp or f11 boot option, it shows the requested media is missing. Help, please.
Hello
There are two options.
1. you can order a replacement set of recovery discs from the link below.
If you have a problem with this link, order them directly from HP.
If you live in the United States, contact HP here.
If you are in another part of the world, begin here.
2 your laptop was initially provided with Windows 8, the activation key is stored in the chip of the Bios, so you could create your own OEM of Windows 8 installation disc.
For more information about how to do this, see the post Hüffer 3rd on the following link.
http://h30434.www3.HP.com/T5/notebook-hardware/need-product-key/m-p/2592099/highlight/false#M96668
Best regards
DP - K
-
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 -
Re: Satellite U305-S7477 - problem with a clean installation of recovery disks
I'm trying to do an OS clean installation of Vista on a new hard disk, the installation proceeds correctly, but in the end, instead of asking me to create a user id and password as the machine makes first start upward when it is new, it shows a login for the administrator with a message that the administrator account has been disabled , and enter another pre-existing user name and password, that I have not since this is a clean install.
Toshiba wants to get only the recovery on top a pre-existing installation of OS? It would be quite a limitation and would prevent one to recover their machine after the death of a hard drive.
Any thoughts? I look through the docs for a password by default, but if it's there I have not found it.Thanks in advance!
Hello
To be honest, your question is strange to me. The fact is, for the installation of an operating system you can use Microsoft DVD or DVD Toshiba recovery facilities. In both cases the installation is almost complete you must enter your user name and password (optional). There is no difference at all.
I made repeated several times on WXP and Vista installation. No difference at all. Username must be entered always and I didn t notice such problem, as described in your ad.
So please try to reinstall the OS and pay attention to every step of facilities. Images of recovery facilities are tested, and I can't imagine Toshiba s people can control something like that.
-
Problem with Autoconfig on Oracle 11i
Hello
I 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:00Hi 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 -
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.
Maybe you are looking for
-
After the update (40.0.2 @ 13.08.2015) just used Firefox open. The process is visible in the Task Manager, but does nothing. no window. JUST. NOTHING. It works only in safe mode or when ran as administrator. I tried other computers from home too. Sam
-
I have been on N.H.L.COM and the Chelsea football club to check some highlights but every time that he clams, I need to install Adobe flash player. Fact of Apple have an app or player that I could watch highlights with without having to download Adob
-
For my Windows Contacts toolbar has disappeared and I can't understand how to retrieve
I want to be able to create e-mail groups - but I can't do without the contact toolbar.
-
BlackBerry smartphones can not get rid of the old email address
Hello, I just got old storm my friend and I can't get rid of her email address! I try to create a new one and it is said that the PIN is already associated with another account. Do I need a new PIN? If so, how do I?