Sybase NULL to Oracle - Error with Fail
Hi,
We are doing migration from Sybase 12 to oracle 9i using Oracle Migration Work Bench . Though we are able to successfully perform the migration , with all object count matching once migrated. When we launch our peoplesoft application on top of the migrated database and start browsing thru it, it throws up error like âError: PS_ABSENCE_HIST - Alter failed due to an unknown column type (CLOB) found for field COMMENTS. (76,22)â. Though the actual datatype value of this column in Sybase is text and when we try to migrate it defaults to CLOB.
The same we try to migrate thru peoplesoft provided tool datamover, the column datatype is LONG. But now we mapped the datatype value of text to long and started migrating . At this point, where Sybase value is NULL, Oracle Migration Work Bench is not able to insert data for such value.
Any idea of how to resolve this issue.
[email protected]
venuhi,
At this point, where Sybase value is NULL, Oracle Migration Work Bench is not able to insert data for such value.There is a difference between sybase and oracle in terms with dealing with nulls, in oracle an empty string is null. The workbench can be configured to put a string in place of a null, such as a single space.
What specifically is going wrong for you in your use of the workbench, is it replacing null with a single space, or is the tool stopping, and if the tool is stopping, what is the output of the error on the screen and the results of Error.log file. Enough details should be available to write a reproducible testcase and log a bug.
Regards,
Turloch
Oracle Migration Workbench Team.
Similar Messages
-
Info : Oracle Errors with Desc
Frnds this is the link where u can find all the oracle errors with the cause.
http://ora-code.com/
Hope u all find it beneficial.
~ VishaLNot sure this adds much more to the docs, except Google Ads :P I suppose that once we've got the page up the ability to zip to a message by putting the code in the URL is marginally faster than looking it up in the book...
Cheers, APC -
Intermittent oracle errors with case-insensitive searches
Hi
I have a table with several columns, two of them are indexed with oracle text.
When I ask queries containing "CONTAINS"-clauses against these columns everything works great. However I have a few other columns in table that I want to run case-insensitive comparisons with.
So I enable case-insensitivity:
ALTER SESSION SET NLS_COMP=LINGUISTIC
ALTER SESSION SET NLS_SORT=BINARY_CI
Now I suddenly start getting intermittent errors.
When I call a query:
SELECT
FROM
article_table at
WHERE
CONTAINS(searchfield , '%MEAT%') > 0
Sometimes it works, but sometimes I get:
ERROR
ORA-29902: ett fel inträffade när rutinen ODCIIndexStart() kördes
ORA-20000: Oracle Text error:
DRG-00100: internal error, arguments : [50935],[drpn.c],[1051],[],[]
DRG-00100: internal error, arguments : [50935],[drpnw.c],[601],[],[]
DRG-00100: internal error, arguments : [51002],[drwa.c],[594],[],[]
DRG-00100: internal error, arguments : [51028],[drwaw.c],[297],[0],[%MEAT%]
DRG-00100: internal error, arguments : [50401],[dreb.c],[1033],[],[]
ORA-00600: intern felkod, argument: [qernsRowP], [1], [], [], [], [], [], []
Anyone knows what is going on? Is this bug? Is there a fox for it?
Thanks for any help anyone can provide.
/KjellClearly that's a bug. Unless anyone here recognizes it and can point you to the bug/patch number I would strongly recomend you to take it to oracle support.
Incidently, doing a search for '%MEAT%' is usually a bad idea. Leading wildcards will disable the use of the index on the $I table, so unless you're using the SUBSTRING_INDEX option such searches will usually perform very badly. They shouldn't cause "internal errors", of course. -
Oracle Error with no Error in Alert log
Hi,
I am getting an error that I am viewing via OEM on a delete statement. The error is as follows:
The EXPLAIN PLAN cannot be viewed because the cached plan for this cursor is malformed
The sql that is running against it is:
delete from job_depot_object job_depot_object where job_id = ( select job.job_id from job_option_value jov, job job where jov.option_id = 236 and option_value = 'Y' and job.object_type_id = 30 and jov.job_id = job.job_id and jov.job_version_id = job.job_version_id and job.job_id = job_depot_object.job_id and job.job_version_id = job_depot_object.job_version_id group by job.job_id ) and depot_object_version_id = ( select job.job_version_id from job_option_value jov, job job, job_result jre, job_depot_object jdo where jov.option_id = 236 and option_value = 'Y' and job.object_type_id = 30 and jov.job_id = job.job_id and jov.job_version_id = job.job_version_id and job.job_id = job_depot_object.job_id and job.job_version_id = job_depot_object.job_version_id group by job.job_version_id )
Any thoughts to what is going wrong?Are you able to get the explain plan of the same statement directly at the sql*plus prompt?
This could be related to the bug:
Bug 3043373 : Abstract: MALFORMED EXECUTION PLAN IN V$SQL_PLAN WITH FILTER OPERATIONS
There is a patch available on top of the 9.2.0.6 version. The bug has been filed on the base data dictionary views in the database. To confirm, I would suggest that you verify the problem from sql*plus first.
Jaffar -
IMP-00017: following statement failed with ORACLE error 1849
Hi
We have a instance 11.1.0.7
while doing import i got the issue as:
IMP-00017: following statement failed with ORACLE error 1849:
"BEGIN "
"dbms_scheduler.create_job('"MAXIMOTSSYNC"',"
"job_type=>'STORED_PROCEDURE', job_action=>"
"'maximo_ts_job'"
", number_of_arguments=>0,"
"start_date=>'30-AUG-12 15.12.04.000000 +04:00', repeat_interval=> "
"'SYSDATE + 5/1440'"
", end_date=>NULL,"
"job_class=>'"DEFAULT_JOB_CLASS"', enabled=>FALSE, auto_drop=>TRUE,comments="
">"
"NULL"
"dbms_scheduler.enable('"MAXIMOTSSYNC"');"
"COMMIT; END;"
IMP-00003: ORACLE error 1849 encountered
ORA-01849: hour must be between 1 and 12
ORA-06512: at line 2
IMP-00091: Above error occurred on the following function and object: CREATE MAXIMOTSSYNC. Remaining PL/SQL blocks for this object will be skipped.
Import terminated successfully with warnings.
My imp command is:
imp system/manager file=schema.DMP log=schema.log fromuser=max touser=max
Please suggest on this
Thanks
ShaikORA-01849: hour must be between 1 and 12Error: ORA 1849
Text: hour must be between 1 and 12
Cause: An invalid hour was specified for a date using the 12-hour time format.
If a 12-hour format code (HH or HH12) is used, the specified hour must
be between 1 and 12.
Action: Enter an hour value between 1 and 12. -
ORA-06540,following statement failed with ORACLE error 6540:
I was working during the last days on doing a full export/import for the database 9i I used the following script for the export .
exp system/**** full=y file=/export/export.dmp log=/export/export.log consistent=y statistics=estimate buffer=200000
And everything went fine, after that I dropped all the objects owners belonging to the tablepaces as i am doing that to solve fragmentation problems
The issue is during the import and after 50% of the tables were exported successfully I started to receive the following error
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020E'; SREC.MAXVA"
"L := 'C26338'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
"TS.NUMARRAY(113,9855); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC :="
" 2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"GL_ACCOUNT_ID"', NULL"
" ,NULL,NULL,1432,.000698324022346369,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017: following statement failed with ORACLE error 6540:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C2020B'; SREC.MAXVA"
"L := 'C2031F'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STA"
"TS.NUMARRAY(110,230); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := "
"2; DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"COMMON_COA_ID"', NULL "
",NULL,NULL,14,.0714285714285714,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
ORA-06540: PL/SQL: compilation error
ORA-06553: PLS-123: program too large
IMP-00017: following statement failed with ORACLE error 6540:
"DECLARE SREC DBMS_STATS.STATREC; BEGIN SREC.MINVAL := 'C202'; SREC.MAXVAL "
":= 'C20233'; SREC.EAVS := 0; SREC.CHVALS := NULL; SREC.NOVALS := DBMS_STATS"
".NUMARRAY(100,150); SREC.BKVALS := DBMS_STATS.NUMARRAY(0,1); SREC.EPC := 2;"
" DBMS_STATS.SET_COLUMN_STATS(NULL,'"RPT_LEDGER"','"CONSOLIDATION_CD"', NULL"
" ,NULL,NULL,2,.5,0,srec,4,2); END;"
IMP-00003: ORACLE error 6540 encountered
the used script for import is
imp system/****** full=y rows=y file=/export/export.dmp log=/export/ofsaimport2.log buffer=20000000
Please note that all the tables and indexes are imported successfully even after the error started to show.
Is it something serious, should I do the import again with statistics=none or I am just fine now and it something that is just related for the statistics.Is really "fragmentation" an issue to justify this table movement? Why do you want to "defragment" your schema? Is it because of performance issues? If this is the case you are wasting your time, if you tried to rebuild the indexes by this procedure, it is also a waste of time. If you are concerned about fragmentation because of "holes" and "islands" of unused space within segments and unused space below the HWM, that is something different, in my personal jargon, I'd rather use the term space reorganization.
If the data import was successful, then take a look at the dba_objects and verify if the program unit is still there and check its status.
You may also want to take a look at this note from AskTom that explains what this error means --> http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:571023051648
~ Madrid
http://hrivera99.blogspot.com -
Urgent:IMP-00017: following statement failed with ORACLE error 3113
OS:HP_UX 11i
Oracle 9.2.0.3.0
when import tablespace metadata,
comand is "imp \'sys/sysadmin AS sysdba\' TRANSPORT_TABLESPACE=y DATAFILES='/oradata/data2/
B.dbf' TABLESPACES=A FILE=A.dmp IGNORE=Y LOG=./log/import.log"
the error occurs as followed:
Export file created by EXPORT:V09.02.00 via conventional path
About to import transportable tablespace(s) metadata...
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
. importing SYS's objects into SYS
IMP-00017: following statement failed with ORACLE error 3113:
"BEGIN sys.dbms_plugts.beginImport ('9.2.0.3.0',31,'2000',NULL,'NULL',3626"
"7,35051,1); END;"
IMP-00003: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
IMP-00000: Import terminated unsuccessfully
export is in same enviorment, the successful informantion below:
exp \'sys/sysadmin AS sysdba\' TRANSPORT_TABLESPACE=y TABLESPACES=A FILE=A.dmp
LOG=./log/export.log
log file:
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export transportable tablespace metadata...
For tablespace A ...
. exporting cluster definitions
. exporting table definitions
. . exporting table A
. exporting referential integrity constraints
. exporting triggers
. end transportable tablespace metadata export
Export terminated successfully without warnings.I do it,but the same error message.
export message:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.3.0 - Production
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
Note: table data (rows) will not be exported
About to export transportable tablespace metadata...
For tablespace A ...
. exporting cluster definitions
. exporting table definitions
. . exporting table A
. exporting referential integrity constraints
. exporting triggers
. end transportable tablespace metadata export
Export terminated successfully without warnings.
Import Message:
Export file created by EXPORT:V09.02.00 via conventional path
About to import transportable tablespace(s) metadata...
import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
. importing SYS's objects into SYS
IMP-00017: following statement failed with ORACLE error 3113:
"BEGIN sys.dbms_plugts.beginImport ('9.2.0.3.0',31,'2000',NULL,'NULL',3627"
"7,36451,1); END;"
IMP-00003: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
IMP-00000: Import terminated unsuccessfully -
IMP-00017: following statement failed with ORACLE error 1658
Hi All,
Please help me to find the reason of this error while importing the export file using parameters full=Y,ignore=n.
IMP-00003: ORACLE error 1658 encountered
ORA-01658: unable to create INITIAL extent for segment in tablespace USERS
IMP-00017: following statement failed with ORACLE error 1658:
"CREATE TABLE "TABLE_NAME" ("SEGMENTID" VARCHAR2(10) NOT NULL EN"
"ABLE, "DRIVERID" VARCHAR2(10) NOT NULL ENABLE, "VEHICLEID" VARCHAR2(10) NOT"
" NULL ENABLE, "START_TIME" VARCHAR2(6) NOT NULL ENABLE, "END_TIME" VARCHAR2"
"(6) NOT NULL ENABLE, "REPORT_TIME" VARCHAR2(6) NOT NULL ENABLE, "DISPOSITIO"
"N" VARCHAR2(1), "S_LOCATION1" VARCHAR2(12), "S_LOCATION2" VARCHAR2(60) NOT "
"NULL ENABLE, "S_LOCATION3" VARCHAR2(12), "S_LOCATION_ENT" VARCHAR2(30), "S_"
"CITYTOWN" VARCHAR2(30) NOT NULL ENABLE, "S_ZIP" VARCHAR2(10) NOT NULL ENABL"
"E, "S_STATEPRO" VARCHAR2(4) NOT NULL ENABLE, "S_COUNTRY" VARCHAR2(2), "S_CO"
"MNTS" VARCHAR2(1), "S_GRID_LAT" NUMBER(10, 6), "S_GRID_LONG" NUMBER(10, 6),"
" "E_LOCATION1" VARCHAR2(12), "E_LOCATION2" VARCHAR2(60) NOT NULL ENABLE, "E"
"_LOCATION3" VARCHAR2(12), "E_LOCATION_ENT" VARCHAR2(30), "E_CITYTOWN" VARCH"
"AR2(30) NOT NULL ENABLE, "E_ZIP" VARCHAR2(10) NOT NULL ENABLE, "E_STATEPRO""
" VARCHAR2(4) NOT NULL ENABLE, "E_COUNTRY" VARCHAR2(2), "E_COMNTS" VARCHAR2("
"1), "E_GRID_LAT" NUMBER(10, 6), "E_GRID_LONG" NUMBER(10, 6), "COMMENTS" VAR"
"CHAR2(200), "STATE" NUMBER(*,0), "OPER_ID" VARCHAR2(20), "UNQ_ID" VARCHAR2("
"40), "DESCR" VARCHAR2(200), "S_COUNTY" VARCHAR2(30), "E_COUNTY" VARCHAR2(30"
")) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FRE"
"ELISTS 1 FREELIST GROUPS 1) TABLESPACE "USERS" LOGGING"
Again the next one is
IMP-00003: ORACLE error 376 encountered
ORA-00376: file 7 cannot be read at this time
ORA-01110: data file 7: 'D:\ORACLE\ORADATA\ITMS\USERS01.DBF'
IMP-00017: following statement failed with ORACLE error 376:
"CREATE INDEX "TDR_INDX" ON "ITMS_SCHED_TRIPS" ("SEGMENTID" , TRUNC("TRAVELDAT"
"E") ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1"
" FREELIST GROUPS 1) TABLESPACE "INDX" NOLOGGING"
Thanks in advance.
AbhijeetHi,
Please check whether you have permission to write on this 'D:\ORACLE\ORADATA\ITMS\USERS01.DBF' .
Also please check if that file is actually present there or not...?
Error ORACLE error 1658 means that either your datafile has filled completely and its not set to auto extend OR hard disk where that file is residing is full and oracle cannot allocate the minimum memory to the segment that is Extent
Regards -
*** ERROR = CONNECT failed with SQL error '12154' after Oracle Upgrade
Hello Experts,
Recently I upgraded my oracle database from 11.2.0.3 to 11.2.0.4.The upgrade completed successfully but I am unable to start the instance.
R3trans -d failing with the error--
OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR
OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:
ORA-12154: TNS:could not resolve the connect identifier specified
OCIServerAttach(con=0, svc=069C1630): Error 12154 attaching new srv=069C17D0
OCIHandleFree(con=0): Server handle srv=069C17D0 freed.
server_detach(con=0, svc=069C1630; srv=NULL, stale=2)
OCIHandleFree(con=0): Service svc=069C1630 freed (i=1).
*** ERROR => CONNECT failed with SQL error '12154'
-->oci_get_errmsg (con=0, rc=12154)
OCIErrorGet() -> SQL error code: 12154; buflen=66
OCIErrorGet(): error text ->
ORA-12154: TNS:could not resolve the connect identifier specified
ocica() -> SQL error code 12154,12154
DbSlConnect(con=0) -> orc=12154, rc=99=DBSL_ERR_DB
***LOG BY2=>sql error 12154 performing CON
***LOG BY0=>ORA-12154: TNS:could not resolve the connect identifier specified
I have checked listener is up and running properly.Entry is maintained in tnsnames.ora.
Also kernel is upgraded with latest path.Curent kernel version--742
Please suggest on the mentioned error.I am attaching the logs here.Thanks in advance.
Best Regards,
DebadityaHi Debadiya
Kindly check this SAP Notes
1204916 - Error: "ORA-12154" when connecting to Oracle from a Windows 64-bit platform
2153975 - Database connectivity fails with ORA-12154
556232 - Environment settings for R/3/Oracle on Windows
443867 - ORA-12154 Collective SAP note
BR
SS -
Import error imp-00017: following statement failed with oracle error 1659:
Hi all,
I am trying to import a file (dmp) which is of 1.63GB size,
when I type
imp
dbname/pwd@db
c:\filepath
30720
no
no
yes
yes
yes
I am getting the error imp-00017: following statement failed with oracle error 1659:
-- end it says Ora-01659 unable to allocate minextents beyond 1 in tablespace USERS
--unable to create INITIAL extent for segment in tablespace USERS
--import terminated successfully with warnings
when I looked into
select maxbytes,file_name from dba_data_files where tablespace_name='USERS';3.4360+10 c:\oracle\product\10.2.0\oradata\orcl\users01.dbf
kindly help me in solving this is.
Regards,
aak
Edited by: AAK 460425 on Apr 12, 2009 6:33 PMThanks,
select bytes from user_free_space where tablespace_name='USERS'
BYTES
458752
720896
458752
655360
43384832
is the size less?
My apology I have updated this in the below thread, which is same as this one.
Re: Import error -
IMP-00017: following statement failed with ORACLE error 901:
Why I get these error messages while I do full import? Could anyone help me on this issue?
IMP-00017: following statement failed with ORACLE error 901:
"CREATE FORMAT92TRIG "
IMP-00003: ORACLE error 901 encountered
ORA-00901: invalid CREATE command
IMP-00008: unrecognized statement in the export file:
ýÿ$
Note:- I have used the same command to import the same export file to a different SID and it went fine but when I try to do import for SID (DEMO), I get the above mentioned errors.
Thanks
Rajesh KumarThanks for the clue
Got it right, when i changed the primary Oracle Home from 10gDS to 9iDB. 10gDS has a lower version of import as compared to 9iDB.
Rajesh -
IMP-00017: following statement failed with ORACLE error 2304
Hi,
in 9i DB when importing I have :
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "T_NUMBER" TIMESTAMP '2007-04-02:10:02:26' OID '6B4C21C0310143B"
"A97211E5E8301C09E' "
" as table of number"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
Can any one please explaine me the problem and if possible a solution ?
Many thanks.The problem is explained in the metalink Note:113335.1
-
IMP-00017: following statement failed with ORACLE error 1031
Hello,
I export a schema from prod (database A) and I try to imported to onther test database (databse B).
database A: single database - Non ASM - 10gR1
database B: RAC database - ASM -10gR2
To import database I use this:
imp osiris/b@osiris file=prod_osiris070601.dmp full=y ignore=y log=osiris.log
All the tables are imported withot problem but when he start to imprt views I get this error:
IMP-00017: following statement failed with ORACLE error 1031:
Can you please help?
Thanck you in advance.I thing that the problem is that the user can not create views!!!
I create the user normaly and I give him this rols: "CREATE SESSION", "CONNECT" and "RESOURCE"
it's ok?
. . importing table "ZIP_CODE" 70768 rows imported
IMP-00017: following statement failed with ORACLE error 1031:
"CREATE FORCE VIEW "OSIRIS"."DETAILED_FRANKING_SYSTEM_VIEW" "
" ("CONFIGURATION_SYSTEM_ID","SYSTEM_ID","DEVICE_SERIAL_NO","OPCO_DE"
"VICE_SERIAL_NO","STATUS","BO_CUST_ID","CUSTOMER_NAME","CUSTOMER_ADDRESS_NAM"
"E","CUSTOMER_STREET1","CUSTOMER_STREET2","CUSTOMER_STREET3","CUSTOMER_STREE"
"T4","CUSTOMER_CITY","CUSTOMER_STATE","CUSTOMER_ZIP4","CUSTOMER_ZIP","CUSTOM"
"ER_COUNTRY","CUSTOMER_NAME_CAP","CUSTOMER_ADDRESS_NAME_CAP","CUSTOMER_STREE"
"T1_CAP","CUSTOMER_STREET2_CAP","CUSTOMER_STREET3_CAP","CUSTOMER_STREET4_CAP"
"","CUSTOMER_ADDRESS_STREET_CAP","CUSTOMER_CITY_CAP","CUSTOMER_STATE_CAP","C"
"USTOMER_COUNTRY_CAP","INSTALL_ADDRESS_NAME","INSTALL_STREET1","INSTALL_STRE"
"ET2","INSTALL_STREET3","INSTALL_STREET4","INSTALL_CITY","INSTALL_STATE","IN"
"STALL_ZIP4","INSTALL_ZIP","INSTALL_COUNTRY","INSTALL_ADDRESS_NAME_CAP","INS"
"TALL_STREET1_CAP","INSTALL_STREET2_CAP","INSTALL_STREET3_CAP","INSTALL_STRE"
"ET4_CAP","INSTALL_ADDRESS_STREET_CAP","INSTALL_CITY_CAP","INSTALL_STATE_CAP"
"","INSTALL_COUNTRY_CAP","DESCRIPTION","CONFIG_MODEL_ID","TYPE","PART_NUMBER"
"AND DEVICE_SYSTEM.DEVICE_TYPE='METER'"
"AND US_SERIAL_NO_CONVERTER.DEVICE_SERIAL_NO(+) = DEVICE_SYSTEM.DEVICE_SERIA"
"L_NO"
IMP-00003: ORACLE error 1031 encountered
ORA-01031: insufficient privileges
IMP-00017: following statement failed with ORACLE error 942:
"GRANT DELETE ON "DETAILED_FRANKING_SYSTEM_VIEW" TO "APP""
IMP-00003: ORACLE error 942 encountered
Message was edited by:
ASkika -
IMP-00017: following statement failed with ORACLE error 1276
i have exported the full database without rows from live database and tried to import it into training database.
both use ASM file system.i have precreated tablespace in training database.
but im getting the error IMP-00017: following statement failed with ORACLE error 1276.
it tries to create tablesapce and datafile on live ASM location rather than creating it on training database ASM location.
live database asm location is WEBD and training database is at TRAIND.
it tries to import on WEBD RATHER THAN TRAIND and throws the error.
any help is appreciated.i have googled it and cant find anything helpful.
Im bit new to DBA stuff.
is there anyway to import and export data in ASM file system?
ThanksWhen datapump exports the tablespace information, all it knows about is the currently location of your datafiles. Let's take a simple example. Let's say you have tablespace foo with a file called foo.dbf and it lives in a windows directory c: if you are now trying to import that into a linux box, Data Pump does not know that. All it knows is that it needs to create the tablespace data file in c:. If you are changing the locations of the datafiles, you need to use remap_datafile=old_datafile:new_datafile ... in your impdp command. Or, precreate them and use exclude=tablespace. The old_datafile and new_datafile need to be the complete path.
Hope this helps.
Dean -
IMP-00017: following statement failed with ORACLE error 922
Hi all,
I'm trying to import a partitioned table. I'm using the imp utility with ignore=y,
but I got the error:
IMP-00017: following statement failed with ORACLE error 922:
"CREATE TABLE "TAB_EX" ("ID_EX" CHAR(12), "C2" NUM"
"BER(3, 0), "C3" DATE, "C5" DATE, "C4" NUMBER("
"8, 2), "C6" NUMBER(5, 0), "C7" NUMBER(6, "
"0), "C8" NUMBER(6, 0)) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 25"
"5 TABLESPACE "ETMTSD01" NOLOGGING PARALLEL ( DEGREE 4 INSTANCES 1) PARTITIO"
"N BY RANGE ("DT_ABERTURA" ) SUBPARTITION BY HASH ("ID_ATM" ) SUBPARTITION"
"S 4 SUBPARTITION TEMPLATE( SUBPARTITION "AB_SUBPART_1" VALUES () TABLESPAC"
"E "ETMTSD03", SUBPARTITION "AB_SUBPART_2" VALUES () TABLESPACE "ETMTSD03","
" SUBPARTITION "AB_SUBPART_3" VALUES () TABLESPACE "ETMTSD03", SUBPARTITION"
" "AB_SUBPART_4" VALUES () TABLESPACE "ETMTSD03" ) (PARTITION "AB_PART_BEFO"
"RE" VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:"
"SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 2"
"55 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_1"
"" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_2" TABLE"
"SPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_3" TABLESPACE "E"
"TMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_4" TABLESPACE "ETMTSD03""
" ), PARTITION "AB_PART_2008_01" VALUES LESS THAN (TO_DATE(' 2008-02-01 00:0"
"0:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTU"
"SED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "
""AB_PART_2008_01_AB_SUBPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PAR"
"T_2008_01_AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_"
"01_AB_SUBPART_3" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_01_AB_S"
"UBPART_4" TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_02" VALUES LESS"
" THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALEN"
"DAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE ""
"ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_02_AB_SUBPART_1" TABLESPACE "So, the rows cannot be imported because this error.
Why am I getting this error with ignore=y?
thanks!imp userdba fromuser=etmown touser=etmown file=etmown.dmp log=etmown_imp10g.log statistics=none grants=no ignore=Ythe log:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V09.02.00 via conventional path
Warning: the objects were exported by ETMOWN, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing ETMOWN's objects into ETMOWN
IMP-00017: following statement failed with ORACLE error 922:
"CREATE TABLE "TAB_EX" ("c1" CHAR(12), "c2" NU"
"MBER(3, 0), "C3" DATE, "C4" DATE, "C5" NUMBER"
"(8, 2), "C6" NUMBER(5, 0), "C7" NUMBER(6,"
" 0), "C8" NUMBER(6, 0)) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 2"
"55 TABLESPACE "ETMTSD01" NOLOGGING PARALLEL ( DEGREE 4 INSTANCES 1) PARTITI"
"ON BY RANGE ("C3" ) SUBPARTITION BY HASH ("C1" ) SUBPARTITIO"
"NS 4 SUBPARTITION TEMPLATE( SUBPARTITION "AB_SUBPART_1" VALUES () TABLESPA"
"CE "ETMTSD03", SUBPARTITION "AB_SUBPART_2" VALUES () TABLESPACE "ETMTSD03""
", SUBPARTITION "AB_SUBPART_3" VALUES () TABLESPACE "ETMTSD03", SUBPARTITIO"
"N "AB_SUBPART_4" VALUES () TABLESPACE "ETMTSD03" ) (PARTITION "AB_PART_BEF"
"ORE" VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI"
":SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS "
"255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_"
"1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_2" TABL"
"ESPACE "ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_3" TABLESPACE ""
"ETMTSD03", SUBPARTITION "AB_PART_BEFORE_AB_SUBPART_4" TABLESPACE "ETMTSD03"
"" ), PARTITION "AB_PART_2008_01" VALUES LESS THAN (TO_DATE(' 2008-02-01 00:"
"00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCT"
"USED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION"
" "AB_PART_2008_01_AB_SUBPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PA"
"RT_2008_01_AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008"
"_01_AB_SUBPART_3" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_01_AB_"
"SUBPART_4" TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_02" VALUES LES"
"S THAN (TO_DATE(' 2008-03-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALE"
"NDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "
""ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_02_AB_SUBPART_1" TABLESPACE"
" "ETMTSD03", SUBPARTITION "AB_PART_2008_02_AB_SUBPART_2" TABLESPACE "ETMTS"
"D03", SUBPARTITION "AB_PART_2008_02_AB_SUBPART_3" TABLESPACE "ETMTSD03", S"
"UBPARTITION "AB_PART_2008_02_AB_SUBPART_4" TABLESPACE "ETMTSD03" ), PARTIT"
"ION "AB_PART_2008_03" VALUES LESS THAN (TO_DATE(' 2008-04-01 00:00:00', 'SY"
"YYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INI"
"TRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2"
"008_03_AB_SUBPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_"
"AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_AB_SUBP"
"ART_3" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_03_AB_SUBPART_4" "
" TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_04" VALUES LESS THAN (TO_"
"DATE(' 2008-05-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGOR"
"IAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" "
"LOGGING (SUBPARTITION "AB_PART_2008_04_AB_SUBPART_1" TABLESPACE "ETMTSD03""
", SUBPARTITION "AB_PART_2008_04_AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPA"
"RTITION "AB_PART_2008_04_AB_SUBPART_3" TABLESPACE "ETMTSD03", SUBPARTITION"
" "AB_PART_2008_04_AB_SUBPART_4" TABLESPACE "ETMTSD03" ), PARTITION "AB_PAR"
"T_2008_05" VALUES LESS THAN (TO_DATE(' 2008-06-01 00:00:00', 'SYYYY-MM-DD H"
"H24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAX"
"TRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_05_AB_S"
"UBPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_"
"2" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_3" TAB"
"LESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_05_AB_SUBPART_4" TABLESPACE"
" "ETMTSD03" ), PARTITION "AB_PART_2008_06" VALUES LESS THAN (TO_DATE(' 2008"
"-07-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCT"
"FREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SU"
"BPARTITION "AB_PART_2008_06_AB_SUBPART_1" TABLESPACE "ETMTSD03", SUBPARTIT"
"ION "AB_PART_2008_06_AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPARTITION "AB"
"_PART_2008_06_AB_SUBPART_3" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2"
"008_06_AB_SUBPART_4" TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_07" "
"VALUES LESS THAN (TO_DATE(' 2008-08-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS',"
" 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 T"
"ABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_07_AB_SUBPART_1" "
"TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_2" TABLESP"
"ACE "ETMTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_3" TABLESPACE "ET"
"MTSD03", SUBPARTITION "AB_PART_2008_07_AB_SUBPART_4" TABLESPACE "ETMTSD03""
" ), PARTITION "AB_PART_2008_08" VALUES LESS THAN (TO_DATE(' 2008-09-01 00:0"
"0:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTU"
"SED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "
""AB_PART_2008_08_AB_SUBPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PAR"
"T_2008_08_AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_"
"08_AB_SUBPART_3" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_08_AB_S"
"UBPART_4" TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_09" VALUES LESS"
" THAN (TO_DATE(' 2008-10-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALEN"
"DAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE ""
"ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_09_AB_SUBPART_1" TABLESPACE "
""ETMTSD03", SUBPARTITION "AB_PART_2008_09_AB_SUBPART_2" TABLESPACE "ETMTSD"
"03", SUBPARTITION "AB_PART_2008_09_AB_SUBPART_3" TABLESPACE "ETMTSD03", SU"
"BPARTITION "AB_PART_2008_09_AB_SUBPART_4" TABLESPACE "ETMTSD03" ), PARTITI"
"ON "AB_PART_2008_10" VALUES LESS THAN (TO_DATE(' 2008-11-01 00:00:00', 'SYY"
"YY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INIT"
"RANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_20"
"08_10_AB_SUBPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_A"
"B_SUBPART_2" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_AB_SUBPA"
"RT_3" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_10_AB_SUBPART_4" "
"TABLESPACE "ETMTSD03" ), PARTITION "AB_PART_2008_11" VALUES LESS THAN (TO_D"
"ATE(' 2008-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORI"
"AN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXTRANS 255 TABLESPACE "ETMTSD01" L"
"OGGING (SUBPARTITION "AB_PART_2008_11_AB_SUBPART_1" TABLESPACE "ETMTSD03","
" SUBPARTITION "AB_PART_2008_11_AB_SUBPART_2" TABLESPACE "ETMTSD03", SUBPAR"
"TITION "AB_PART_2008_11_AB_SUBPART_3" TABLESPACE "ETMTSD03", SUBPARTITION "
""AB_PART_2008_11_AB_SUBPART_4" TABLESPACE "ETMTSD03" ), PARTITION "AB_PART"
"_2008_12" VALUES LESS THAN (TO_DATE(' 2009-01-01 00:00:00', 'SYYYY-MM-DD HH"
"24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) PCTFREE 2 PCTUSED 98 INITRANS 1 MAXT"
"RANS 255 TABLESPACE "ETMTSD01" LOGGING (SUBPARTITION "AB_PART_2008_12_AB_SU"
"BPART_1" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_2"
"" TABLESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_3" TABL"
"ESPACE "ETMTSD03", SUBPARTITION "AB_PART_2008_12_AB_SUBPART_4" TABLESPACE "
""ETMTSD03" ) )"
IMP-00003: ORACLE error 922 encountered
ORA-00922: missing or invalid option
Import terminated successfully with warnings.thank u very much! :-)
Edited by: [email protected] on Sep 12, 2008 3:11 PM
Maybe you are looking for
-
ITunes 11 - why no cover in title view and no infos in artist view???
Guys really, you keep messing up iTunes from version to version. I think I will finally move to Songbird or other software. Why do you always have to remove functions people use and like in iTunes. And this has a history!!! iTunes10 In iTunes 10 you
-
Iphone 4s won't boot on and itunes doens't detect it when on battery. Plug it in and Apple logo appear then disappear, try to recover, but there's a 1602 error. Is it dead?
-
LR not recognizing external disc as external.
When I updated LR from 1 to 2, I found that it decided that my external disc (LaCie D2 Quadra, USB connection) was actually internal. It is listed as Macintosh HD/Users/Volumes/Firewire 500Gb. I asked at the time for any ways to correct this, but des
-
Hi, I want to upload data to create a customer for XD01 transaction, and for that I've created a bapi. Now I want two fields (Acct.group and comp.code). I did not find those fields in standard Bapi structures/tables. Can anyone help me to find those
-
Hi, Firstly thanks for reading. I've recently I installed squid on one of our old G5 servers to provide authenticated internet to our users. I have it working perfectly with the LDAP module but this means they have to type in their username and passw