Tablespace file in Oracle 10.2.0.4.0  twice as large as in 9.2.0.7

The tablespace file of an database schema in oracle 10 is twice the size of the same database schema in oracle 9( 16.4 GB versus 8.11GB )
At first I thought it was due to the charachtersets used, but these are in both the versions the same,
in oracle 9 :
NLS_CHARACTERSET     WE8ISO8859P9
NLS_NCHAR_CHARACTERSET     AL16UTF16
NLS_LENGTH_SEMANTICS     BYTE
in oracle 10
NLS_CHARACTERSET     WE8ISO8859P9
NLS_NCHAR_CHARACTERSET     AL16UTF16
NLS_LENGTH_SEMANTICS     BYTE
Any ideas are welcome
Thanks
Toon

from oracle 9
DBA tablespaces:
"TABLESPACE_NAME"     "BLOCK_SIZE"     "INITIAL_EXTENT"     "NEXT_EXTENT"     "MIN_EXTENTS"     "MAX_EXTENTS"     "PCT_INCREASE"     "MIN_EXTLEN"     "STATUS"     "CONTENTS"     "LOGGING"     "FORCE_LOGGING"     "EXTENT_MANAGEMENT"     "ALLOCATION_TYPE"     "PLUGGED_IN"     "SEGMENT_SPACE_MANAGEMENT"     "DEF_TAB_COMPRESSION"
"IP504PROD_2_USR"     "8192"     "16384"     "16384"     "1"     "2147483645"     "0"     "16384"     "ONLINE"     "PERMANENT"     "LOGGING"     "NO"     "LOCAL"     "UNIFORM"     "NO"     "MANUAL"     "DISABLED"
DBA_DATA_FILES:
"FILE_NAME"     "FILE_ID"     "TABLESPACE_NAME"     "BYTES"     "BLOCKS"     "STATUS"     "RELATIVE_FNO"     "AUTOEXTENSIBLE"     "MAXBYTES"     "MAXBLOCKS"     "INCREMENT_BY"     "USER_BYTES"     "USER_BLOCKS"
"H:\DATABASES\PROD\IP504PROD_2_USR.DBF"     "13"     "IP504PROD_2_USR"     "8902410240"     "1086720"     "AVAILABLE"     "13"     "YES"     "20971520000"     "2560000"     "1280"     "8902311936"     "1086708"
oracle 10:
DBA_TABLESPACES
"TABLESPACE_NAME"     "BLOCK_SIZE"     "INITIAL_EXTENT"     "NEXT_EXTENT"     "MIN_EXTENTS"     "MAX_EXTENTS"     "PCT_INCREASE"     "MIN_EXTLEN"     "STATUS"     "CONTENTS"     "LOGGING"     "FORCE_LOGGING"     "EXTENT_MANAGEMENT"     "ALLOCATION_TYPE"     "PLUGGED_IN"     "SEGMENT_SPACE_MANAGEMENT"     "DEF_TAB_COMPRESSION"     "RETENTION"     "BIGFILE"
"IP504PROD_2_USR"     "8192"     "10240000"     "10240000"     "1"     "2147483645"     "0"     "10240000"     "ONLINE"     "PERMANENT"     "LOGGING"     "NO"     "LOCAL"     "UNIFORM"     "NO"     "AUTO"     "DISABLED"     "NOT APPLY"     "NO"
DBA_DATA_FILES
"FILE_NAME"     "FILE_ID"     "TABLESPACE_NAME"     "BYTES"     "BLOCKS"     "STATUS"     "RELATIVE_FNO"     "AUTOEXTENSIBLE"     "MAXBYTES"     "MAXBLOCKS"     "INCREMENT_BY"     "USER_BYTES"     "USER_BLOCKS"     "ONLINE_STATUS"
"/u02/oradata/prod/ip504prod_2_USR.DBF"     "5"     "IP504PROD_2_USR"     "17711104000"     "2162000"     "AVAILABLE"     "5"     "YES"     "20971520000"     "2560000"     "1280"     "17704960000"     "2161250"     "ONLINE"
I hope this is sufficient?
thnxs
Toon
Edited by: user4446345 on 23-mrt-2010 15:59

Similar Messages

  • Error while importing dump file to Oracle server

    Hi All,
    I'm pretty new to Oracle and I need to do the following job:
    - import data from dump file to Oracle server
    - then export it into CSV format to load to our web system
    Oracle dump file is called EXPDAT.DMP and it is placed in the default location, so no need to specify it. Here I'm trying to do the 1st step:
    impdp SYSTEM/XXXXXX REMAP_SCHEMA=DATA01:SYSTEM
    And then I'm getting the following errors:
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01": SYSTEM/******** REMAP_SCHEMA=DATA01:SYSTEM
    Processing object type TABLE_EXPORT/TABLE/TABLE
    ORA-39083: Object type TABLE failed to create with error:
    ORA-00959: tablespace 'K_DATA' does not exist
    But tablespace 'K_DATA' exists in Oracle database (I've created it manually). What does it mean? Is it a permission issue? Or may be there is more simple way to accomplish my task? Please help me! Thank you!

    Create the user DATA01 in your database, with sufficient quota on tablespace K_DATA. DO NOT import another schema's objects into SYSTEM. If you must REMAP_SCHEMA to something other than DATA01, create a user other than SYSTEM to receive it.

  • LDB files or log files in ORACLE database ?

    Hi Experts,
    Like LDB files in MIcrosoft Access do we have any sort of files in ORACLE which records the transactions and updates done in a particular database.
    Pls help me if you have any idea on this.
    Thanks in advance.

    If you are comparing Access with Oracle, then you are in for many shocks and surprises. In Oracle we have a database, in which there are logiical things called as tablespaces which have data files, a physical file at operating system level, which store data, and then transactions are also protected by the redo logs and for the old image we have undo tablespaces and so on...
    regards

  • How to drop Users DBF file in oracle 11g?

    Hi All
    I dropped the user and want to free the table space(To import another user(Which has more than 10 GB of record).
    the below is my query which i used to import the data and schema
    impdp system/test DIRECTORY=dump_dir DUMPFILE=exp_test.dmp FULL=Y LOGFILE=import_test.log REMAP_TABLESPACE=TEST_DATA:USERS
    After dropping my user i checked into the folder C:\oradata\orcl and i found two files USERS01.DBF(21.1GB,its 21.1 gb because i tried to cretae an another schema nd i got stuc up with low disk space.) and TEMP01.DBF(1.66GB).
    I tried to drop USERS tablespace and i could nt able to do it.
    Can any one help me to reduce the size of both two files?
    Thanks & Regards
    Vijay
    Edited by: Vijayamurugan on Jun 15, 2011 8:22 AM

    bobonacus wrote:
    shutdown immediate
    startup nomount
    alter database mount;
    why not just 'startup mount'?? Why the two-step?
    alter database rename file
    'e:\oracle\oradata\orcl\indx01.dbf',
    'e:\oracle\oradata\orcl\rbs01.dbf',
    'e:\oracle\oradata\orcl\system01.dbf',
    'e:\oracle\oradata\orcl\temp01.dbf',
    'e:\oracle\oradata\orcl\tools01.dbf',
    'e:\oracle\oradata\orcl\users01.dbf',
    'e:\oracle\oradata\orcl\file1.dbf',
    'e:\oracle\oradata\orcl\file2.dbf'
    to
    'd:\oracle\oradata\orcl\indx01.dbf',
    'd:\oracle\oradata\orcl\rbs01.dbf',
    'd:\oracle\oradata\orcl\system01.dbf',
    'd:\oracle\oradata\orcl\temp01.dbf',
    'd:\oracle\oradata\orcl\tools01.dbf',
    'd:\oracle\oradata\orcl\users01.dbf',
    'd:\oracle\oradata\orcl\file1.dbf',
    'd:\oracle\oradata\orcl\file2.dbf'
    ;I'm not sure the RENAME clause allows multiple files to be listed like that. In any event, just reduce the chance of error, I'd do it file by file.
    You forgot to mention that you need to actually move the files, at the os level. All the above does is change their entries in the control file. It doesn't do anything at all to the files themselves.
    >
    shutdown immediate
    startup
    No need for the shutdown. You could just ALTER DATBASE OPEN.
    >
    >
    you can get a full listing of files by
    alter database backup controlfile to trace;
    and you can then copy and paste from that ...
    Simpler, just select from dba_data_files.
    eta. of course assuming you mean move your database files rather than your installation
    Edited by: bobonacus on Jun 16, 2011 3:30 PM

  • Regarding Import .dmp files to Oracle

    I have GosalesDw.dmp files. I need to import these files to Oracle database.
    I am loging to system/admin . Then I issues 'host cmd' and then i am using ' imp' command for import. But i am unable to import.
    I think I am giving wrong information for path . so suggested me how i will give the path.
    can you please explain me with Example.
    Thanks,
    MohanaKrishna K

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    I am loging to system/admin why
    imp help=yes
    Import: Release 10.2.0.1.0 - Production on Wed Mar 3 09:47:46 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
         Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword  Description (Default)       Keyword      Description (Default)
    USERID   username/password           FULL         import entire file (N)
    BUFFER   size of data buffer         FROMUSER     list of owner usernames
    FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
    SHOW     just list file contents (N) TABLES       list of table names
    IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
    GRANTS   import grants (Y)           INCTYPE      incremental import type
    INDEXES  import indexes (Y)          COMMIT       commit array insert (N)
    ROWS     import data rows (Y)        PARFILE      parameter filename
    LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
    DESTROY                overwrite tablespace data file (N)
    INDEXFILE              write table/index info to specified file
    SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
    FEEDBACK               display progress every x rows(0)
    TOID_NOVALIDATE        skip validation of specified type ids
    FILESIZE               maximum size of each dump file
    STATISTICS             import precomputed statistics (always)
    RESUMABLE              suspend when a space related error is encountered(N)
    RESUMABLE_NAME         text string used to identify resumable statement
    RESUMABLE_TIMEOUT      wait time for RESUMABLE
    COMPILE                compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION  import streams general metadata (Y)
    STREAMS_INSTANTIATION  import streams instantiation metadata (N)
    VOLSIZE                number of bytes in file on each volume of a file on tape
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.

  • V 8.05 - Corrupted tablespace file for schema - cannot open database

    Group,
    Sun 450 Enterprise running Solaris 6. No hardware failures or problems.
    I have a database that will not open, and here's the info I think you'll need:
    Several schemas, each in it's own tablespace. Only one schema, production is needed, and it's fine. The test schema "tst" got it's tablespace files replaced by one of our admins. I DO NOT need any of the data in any schema but production, and it's files are OK.
    When I attempt to open the database to drop the tablespace and contents, I get:
    Logged on as oracle owner
    svrmgrlSVRMGR> connect internal
    SVRMGR> startup
    SGA message
    Buffermessages
    Database mounted.
    ORA-01122: database file 5 failed verification check
    ORA-01110: data file 5: '/oracle01/max/tst01.dbf'
    ORA-01251: Unknown File Header Version read for file number
    SVRMGR>drop tablespace tst including contents;
    ORA-011109: database not open
    I have tried "startup force open" - same error, just about every combination of svrmgrl options I can think of.
    All I want is to get Oracle to ignore those "tst" schema (tablespace) files.
    Thanks,
    Vince

    EdStevens wrote:
    N. Gasparotto wrote:
    You could try :
    startup
    alter database datafile 'your_datafile_name' offline drop;
    alter database open;
    drop tablespace your_tablespace_name;Nicolas.Wouldn't that need to be a 'startup mount'?I assume the startup will "partially" failed, and then the db will be in mount status...
    Nicolas.

  • UNDO tablespace file size is huge

    Have noticed that UNDO tablespace is eating the disk space of our server. Now, the size is 40GB. Can I recreate a new one with smaller size and drop the existing one? If yes, how?

    I have another problem
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1367343104 bytes
    Fixed Size 1292468 bytes
    Variable Size 838862668 bytes
    Database Buffers 520093696 bytes
    Redo Buffers 7094272 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    As I checked the alert log:
    Mon Oct 04 13:47:18 2010
    Error 30012 happened during db open, shutting down database
    USER: terminating instance due to error 30012
    Mon Oct 04 13:47:19 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_pmon_7572.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:19 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_reco_2168.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:19 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_smon_6552.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:19 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_lgwr_9108.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:20 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_ckpt_7152.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:20 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_psp0_3612.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:20 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_mman_6528.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Mon Oct 04 13:47:20 2010
    Errors in file d:\oracle\product\10.2.0\admin\axphq01\bdump\axphq01_dbw0_7120.trc:
    ORA-30012: undo tablespace '' does not exist or of wrong type
    Instance terminated by USER, pid = 9204
    ORA-1092 signalled during: ALTER DATABASE OPEN...

  • Specify tablespace when creating Oracle tables?

    I am migrating from MS SQLServer 6.5 to Oracle 9.0.1.2. Whenever I run the OMWB process to load the table data into the destination Oracle database, OMWB creates a tablespace named after my SQLServer database name. This is fine; however, the datafile always ends up in the ORACLE_HOME/dbs directory. Even if I use OMFs, it still creates the datafile for this tablespace in ORACLE_HOME/dbs. Is there any way to specify the tablespace and/or user?
    NOTE: OMWB is executed on NT 4.0. Oracle repository and destination database is on Solaris 2.6. I don't think those facts matter for this question, but I want to specify because the O/S field above only allows for one selection.
    Thanks!

    Reid,
    if you expand the tablespace folder in the Oracle Model UI and select the tablespace in question you will note that on the
    right-hand-side of the Migration Workbench UI a property pane appears with a General and Storage tab. On the General
    tab you will see a list box with column headings including File Name and File Directory. If you select the tablespace name
    under the File Name column, you will note that you can change the name of the tablespace file. If you select the File Directory
    column for the tablespace in question, you will be able to specify a destination directory for the dbf file. If you use this method
    then please remember to choose the Apply button at the bottom of the property pane to save any changes you might make.
    Note that you can also rename the Tablespace itself by selecting the tablespace in question from the Tablespaces folder
    and choosing Object-Rename from the menu - then simply type in your preferred name.
    An alternative is to use the Tablespace discoverer option which can be found under the Tools menu in the Migration Workbench.
    This enables you to use the tablespaces currently available in an existing Oracle 8i or 9i database.
    I hope this helps,
    Regards,
    Tom - Team OMWB.

  • How to migrate files from "ORACLE EPM 11" to OBIEE 10g / 11g

    Hi
    We are moving from ORACLE EPM 11 to OBIEE 10g or 11g .
    Can anyone suggest me how to migrate the files from ORACLE EPM11 to OBIEE 10g ?
    Regards
    Vinod.

    It would be a good idea to specify the version you are using.
    The general plan can be the following:
    A. On source db:
    1. Generate scripts for the tablespaces where the schema you want to export has segments (again use toad or ther tools)
    2.Generate scripts for the schema you want to export (use toad, dbms_metadata or other tools)
    3. Generate scripts for system grants, system roles, privileges you have on objects owned by sys, system, quotas on tablespaces
    4. If the schema has grants on sys objects that are not part of the default oracle install but were created later and are specific to that particular db (not a good practice, but it can hapen) and your application is dependent on them, generate scripts for them also (I have come across types owned by sys, when migrating an application with Websphere AS)
    5. export schema using exp owner=<SCHEMA_NAME>
    6. generate scripts for public synonyms and grants to public on object schema
    B. On target db.
    1. create tablespaces with generated scripts from A.1.
    2. create schema with generated scripts from A.2.
    3. grant all privileges from A.3.
    4. if non default objects on sys needed, create them with scripts from A.4., grant privileges on these objects
    5. imp with option fromuser=<SCHEMA_NAME> touser=<SCHEMA_NAME>
    6. create public synonyms, grants from A.6.
    7. check jobs - if you import with sys or system user, jobs will be imported under this users; drop jobs nad recreate jobs under your schema
    I hope I haven't forget anything and this helps...
    Ioan
    Edited by: ioan on 6.10.2008 13:00

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

  • Upload data from excel file to Oracle table

    Dear All,
    I have to upload data from excel file to Oracle table without using third party tools and without converting into CSV file.
    Could you tell me please how can i do this using PLSQl or SQL Loader.
    Thnaks in Advance..

    Dear All,
    I have to upload data from excel file to
    Oracle table without using third party tools and
    without converting into CSV file.
    Could you tell me please how can i do this
    using PLSQl or SQL Loader.
    Thnaks in Advance..As billy mentioned using ODBC interface ,the same HS service which is a layer over using traditional ODBC to access non oracle database.Here is link you can hit and trial and come out here if you have any problem.
    http://www.oracle-base.com/articles/9i/HSGenericConnectivity9i.php[pre]
    Khurram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I am trying to import BPM Project.zip file into Oracle enterpriserepository

    I am trying to import BPM Project.zip file into Oracle enterpriserepository from admin tab.
    I am getting the following exception. please help if any one know the solution.
    Performing import...
    Import Failed: Error [100]: An unknown server-side error occurred. Please record stack trace (if available) and contact technical support.
    com.flashline.exception.LoggableException: trouble parsing file in import bundle: SampleWScall/activityGuide.agdl
         at com.flashline.cmee.openapi.service.subsystem.impexp.XMLTranslator.decode(XMLTranslator.java:157)
         at com.flashline.cmee.openapi.service.subsystem.impexp.ImportJob.doJob(ImportJob.java:74)
         at com.flashline.cmee.openapi.service.subsystem.impexp.AbstractJob.perform(AbstractJob.java:75)
         at com.flashline.cmee.openapi.service.subsystem.impexp.JobThread.run(JobThread.java:41)
    Audit results stored in:
    C:\Users\AVINAS~1.YEL\AppData\Local\Temp\import-4705112223687937017.log
    Audit for [Import job.] created on [2012-09-24 11:53:59 IST].
    2012-09-24 11:53:59 IST - Adding Import job with ID=[50403] to job queue.
    Thanks in Advance.

    Hi
    Why are you trying to import BPM zip file are you trying to configure the out of the box workflows?
    They are something that need to be deployed from the process admin on BPM.
    There would be the .exp file you would need as its BPM 10g that you would need to use.

  • Store PDF File in Oracle database 10g

    Hi all,
    I want to store PDF File in Oracle database 10g,
    and then I want to access the pdf file using Oracle Developer 6i
    can anyone tell me how to do this,
    thanks in advance.

    This question has already been posted a lot of times.....
    See the following:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=pdf+file&objID=f82&dateRange=lastyear&userID=&numResults=15
    Greetings,
    Sim

  • Unable to find file error while loading data from text file to Oracle

    Hi,
    I am having a interface where i am loading a data of Text file to Oracle.
    But when i am trying to do this i am getting following error.
    ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection SAPMM.
    Caused By: java.sql.SQLException: File not found: d:/mdb/#General.get_filename
         at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:160)
         at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
         at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
    SAPMM is connection name.
    I am using get_filename to get the filename and it is fetching correct value as the this variable refreshes in previous step of this interface.
    KM used for loading is File to SQL
    What would be cause of this error?
    Thanks,
    Mahesh

    Hi,
    Did a testing and following are the result
    I have
    A> created package having steps like
    1. Declaration of variable v_filename.
    2. Refreshing variable v_filename.
    3. Execution of Interface which gets the file name from v_filename and load into target table
    Package executes successfully.
    B> created package having steps like
    1. Declaration of variable v_filename.
    2. Refreshing variable v_filename.
    3. Scenario of Interface which gets the file name from v_filename and load into target table
    Package executes with erre as it is not able to find the file
    C> created package having steps like
    1. Declaration of variable v_filename.
    2. Refreshing variable v_filename.
    3. Execution of Interface which gets the file name from v_filename and load into target table
    4. Now create a scenario of the package , use the generated scenario in another package say main_package
    Execution of main_package is successful.
    Thanks,
    Sutirtha

  • How to load date and time from text file to oracle table through sqlloader

    hi friends
    i need you to show me what i miss to load date and time from text file to oracle table through sqlloader
    this is my data in this path (c:\external\my_data.txt)
    7369,SMITH,17-NOV-81,09:14:04,CLERK,20
    7499,ALLEN,01-MAY-81,17:06:08,SALESMAN,30
    7521,WARD,09-JUN-81,17:06:30,SALESMAN,30
    7566,JONES,02-APR-81,09:24:10,MANAGER,20
    7654,MARTIN,28-SEP-81,17:24:10,SALESMAN,30my table in database emp2
    create table emp2 (empno number,
                      ename varchar2(20),
                      hiredate date,
                      etime date,
                      ejob varchar2(20),
                      deptno number);the control file code in this path (c:\external\ctrl.ctl)
    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime, ejob, deptno)this is the error :
    C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 5
    C:\>any help i greatly appreciated
    thanks
    Edited by: user10947262 on May 31, 2010 9:47 AM

    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime, ejob, deptno)Try
    load data
    infile 'C:\external\my_data.txt'
    into table emp2
    fields terminated by ','
    (empno, ename, hiredate, etime "to_date(:etime,'hh24:mi:ss')", ejob, deptno)
    this is the error :
    C:\>sqlldr scott/tiger control=C:\external\ctrl.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 31 09:45:10 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 5
    C:\>
    That's not an error, you can see errors within log and bad files.

Maybe you are looking for