10g sql ldr

Hi everyone,
Can I install sqlldr after a 10g client software is installed? The server is for datastage. ANY HELP WOULD BE APPRECIATED!!
THANKS

I am on an AIX server w/10g client installed. Does any1 know where I can find the software so i can download it database version is 10G R1. Once I download the softwware I will send thru winscp to the server and then unzip and then ./runInstaller. The reason y I am doing this is because who ever installed the client before did not download sqlldr. Will I have to patch the current ORACLE_HOME or can I just ./runinstaller then click custom and choose sqlldr? Please I have been stuggling w/this for a couple days now.
Thanks
Mohammed

Similar Messages

  • ODI 10g R2 LKM File to Oracle (sql*ldr)  ctl file

    Hi,
    ODI release 10.1.3.4
    I need to load a file into an oracle db. For big file I use the LKM file to oracle (sql loader). It is a delimited file with ' " ' enclosed text. I give in the datasotre all parameters record separator, field separator, text delimiter, decimal separator. Despite in the control file for sql*ldr it miss the line [optionnaly enclosed '"' ] so in my db it is loading "nn" instead of nn ...
    Do someone know this issue ?!
    Best regards,
    BL

    It would be best to you look in to the LKM code to see if its even there "optionally enclosed by"
    This is an old version of ODI and its quite possible that the support for this clause was not added to the step that builds the ctl file.
    If its not there, then you can add it your self.

  • Summary SQL*LDR log file

    Hi,
    I need to get only a summary log file that show me records by error. for example if the log file has 5000 error for datatype and 300 for PK violation and 2000 for not null value, the problem that the log will show me this error row by row. can I get it summary like this
    -5000 rows rejected due to error for datatype
    -300 rows rejected due to PK violation
    -2000 rows rejected due to not null value
    Database: 9i
    O/S: Windows 2000 Server

    eng. Habeeli wrote:
    schavali wrote:
    Pl see your duplicate post here - big SQL*LDR log file
    Pl post what you have found in the documentation so far. AFAIK, there is no way to get a summary log file.
    Sriniits not duplicate ,I change to this form that specialized in sql loadre.
    I don't found any thing about summary log in the documnetPl post a link to the document you read. Did you see my comment above ?
    HTH
    Srini

  • Is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader

    Hi
    Can anyone tell me whether is there any difference in Oracle 9i SQL Loader and Oracle 10g SQL Loader?
    I am upgrading the 9i db to 10g and wanted to run the 9i SQL Loader control files on upgraded 10g db. So please let me know is there any difference which I need to consider any modifications in the control files..
    Thank you in advance
    Adi

    answered

  • How to use Oracle 10G SQL features in OWB?

    We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
    Oracle 10G SQL offers
    1) Inserting Into a Table with Error Logging
    2) conditional_insert_clause, Specify the conditional_insert_clause to perform a conditional multitable insert.
    Did anyone use above features in OWB10G mapping?
    How do we use them?
    Thanks in advance.
    RI

    Hi,
    Just a thought on the multi-table insert. OWB generates multitable insert when one source is mapped to multiple targets only on the condition that after the splitter there should not be any OWB operator that can change the cardinality of the row-set coming out of the splitter (like joiners, filters, aggregators etc.)..
    Regarding the link, I was wondering where I could find a decent documentation of the shadow table and the DML Error Logging through OWB .. Thanks for the link.
    OWB error messages are basically Oracle Error Messages when you consider the code that gets deployed. Other than that VLD errors are sometimes mysterious and hard to debug.. Hope someone can give us more details on how to handle such VLD errors :)
    HTH
    -AP

  • ODI SQL LDR issue

    Hi Guys,
    I am trying to load one csv file using sqlldr LKM and facing issue at Call Sqlldr step
    Error Message is:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 22, in <module>
    Load Error: See Y:/BTLB_PLANS Product Codes ( A CODE LIST).log for details
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2473)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:561)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: Traceback (most recent call last):
    File "<string>", line 22, in <module>
    Load Error: See Y:/BTLB_PLANS Product Codes ( A CODE LIST).log for details
         at org.python.core.PyException.fillInStackTrace(PyException.java:70)
         at java.lang.Throwable.<init>(Throwable.java:181)
         at java.lang.Exception.<init>(Exception.java:29)
         at java.lang.RuntimeException.<init>(RuntimeException.java:32)
         at org.python.core.PyException.<init>(PyException.java:46)
         at org.python.core.PyException.doRaise(PyException.java:219)
         at org.python.core.Py.makeException(Py.java:1166)
         at org.python.core.Py.makeException(Py.java:1170)
         at org.python.pycode._pyx0.f$0(<string>:59)
         at org.python.pycode._pyx0.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java:165)
         at org.python.core.PyCode.call(PyCode.java:18)
         at org.python.core.Py.runCode(Py.java:1204)
         at org.python.core.Py.exec(Py.java:1248)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         ... 1 more
    and Code:
    import java.lang.String
    import java.lang.Runtime as Runtime
    from jarray import array
    import java.io.File
    import os
    import re
    ctlfile = r"""Y:/BTLB_PLANS Product Codes ( A CODE LIST).ctl"""
    logfile = r"""Y:/BTLB_PLANS Product Codes ( A CODE LIST).log"""
    outfile = r"""Y:/BTLB_PLANS Product Codes ( A CODE LIST).out"""
    oracle_sid=''
    if len('UREPDEV')>0: oracle_sid = '@'+'UREPDEV'
    loadcmd = r"""sqlldr 'REDW_DA_OWNER/<@=snpRef.getInfo("DEST_PASS") @>%s' control='%s' log='%s' > "%s" """ % (oracle_sid,ctlfile, logfile, outfile)
    rc = os.system(loadcmd)
    if rc <> 0 and rc <> 2:
         raise "Load Error", "See %s for details" % logfile
    # Init Vars
    nbIns = 0
    nbRej = 0
    nbNull = 0
    strprt = ""
    maxAllowedError = r"""0"""
    c = 0
    flag = 0
    # Open log file
    f = open(logfile, "r")
    try:
         lines = f.readlines()
         for line in lines:
              if line.rstrip().upper().endswith(r"""REDW_DA_OWNER.TC$_0TEST:""".upper()):
                   flag = 1
                   c = 0
              if flag == 1:
                   if c > 0 and c <= 4:
                        if c == 1 :
                             nbIns = int(re.findall("\d+", line)[0])
                        elif c == 2:
                             nbRej = int(re.findall("\d+", line)[0])
                        elif c == 4:
                             nbNull = int(re.findall("\d+", line)[0])
                             break
              c+=1
         strprt = "\n\tIns:\t%s\n\tReject:\t%s\n\tNullField:\t%s" % (nbIns, nbRej, nbNull)
    finally:
         f.close()
    # if some rows has been rejected due to invalide data, check KM option LOA_ERRORS
    if rc == 2:
         if nbRej > int(maxAllowedError):
              raise strprt
              break
    I am using LKM File to Oracle(SQLLDR)
    Thanks in advance

    error is saying:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 22, in <module>
    Load Error: See Y:/<file_name>.log for details
    and no log file is created for that.
    Few more things to add.
    We have 2 different boxes. 1. ODI box (different server address)
    2. DB box (different server address)
    and Sql developer is installed on DB box. I am able to use SQLLoader utility through SQL Developer.
    But when I am using ODI to use sql ldr through LKM SQL to Oracle (Sqlldr).
    It is getting failed at 6th step i.e. Call sqlldr.
    Error is : org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 22, in <module>
    Load Error: See<file_name>.log for details
    but to my surprise all files were created at the folder except .log file.
    Can anybody help me to solve this issue.
    This is very urgent.
    Is this because sqlldr is not accessible to ODI then how .ctl & .bad files are created.
    I will really appreciate your help. it is bit urgent to solve this issue.
    Edited by: 965549 on Oct 28, 2012 10:36 AM

  • Sql ldr help

    Hi All,
    I'm having a problem with the sql ldr ...
    SQL> sqlldr control=xyz.ctl
    SP2-0734: unknown command beginning "sqlldr con..." - rest of line ignored.
    SQL> sqlldr hr/hr control=c:\users\nalla\desktop\xyz.ctl
    SP2-0734: unknown command beginning "sqlldr hr/..." - rest of line ignored.
    SQL>
    I have my control file and data file all good.
    Please help me
    Thanks!

    I don't think you need this reserved keyword userid
    userid=hr/hr
    Just sqlldr hr/hr@dbname control =abcd.ctl
    Nalla,
    OAD DATA
    INFILE 'C:\Documents and Settings\...............\abc.csv'
    BADFILE 'C:\Documents and Settings\...............\abc.bad'
    DISCARDFILE 'C:\Documents and Settings\\...............\abc.dis'
    APPEND INTO TABLE xyz REPLACE
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
    a     CHAR,
         b     CHAR,
         c     CHAR,
         d     CHAR
    Please advise.

  • Sql-ldr

    Hi Experts,
    I want to load the data from flat file to database tables with help of sql ldr .. the scenario is i want to load the flat file "name" (no need extention, name of the file only need to be loaded in to the table columns) in to one of the table column, can any one please help me how to load the file name in to tables, how to manually insert the singale file name to table column, please guide me with detail?
    Thanks,

    Hi,
    As I said earlier, you have to maintain the list of filename's "itemdescr" in different temp file and load it an and when required table instead of checking for round robin functionality. If you are looking forward that oracle sqlldr can able to access the filename as one of the parameter then - it might not possible AFAIK.
    else perform the direct insert on the table from sqlclient.
    - Pavan Kumar N

  • SQL LDR LKM generating incorrect CTL file

    Hi,
    The LKM for SQL LDR is generating incorrect CTL file for a fixed length data file. Due to this the ODI is erring out.
    Here are the contents of the CTL file:
    SnpsOutFile "-File=//Myserver/myfile.ctl"
    OPTIONS (
         SKIP=0,
         ERRORS=0,
         DIRECT=TRUE
    LOAD DATA
    INFILE "//Myserver/myfile.RDY"
    BADFILE "//Myserver/myfile.bad"
    DISCARDFILE "//Myserver/myfile.dsc"
    DISCARDMAX 1
    INTO TABLE ORA_SCHEMA.C$_0RAW_TABLE
         C1_CHAR9     POSITION(:),
         C2_CHAR2     POSITION(:),
         C3_CHAR6     POSITION(:),
         C4_CODE          POSITION(:),
         C5_RAWG_CODE     POSITION(:),
         C6_E_NUMBER     POSITION(:),
         C7_T_NUMBER     POSITION(:),
         C8_C_COLOR     POSITION(:),
         C9_D_COLOR     POSITION(:),
         C10_R_CODE     POSITION(:)
    Why is "POSITION(:)" not getting the numbers before and after ":" ?
    I reverse engineered this file and have the correct values for "Physical Length" and "Logical Length"
    TIA,
    Ankit

    Hi Ankit,
    I think the column transformation mappings are set on the Source (radio button) in the Integration Interface Mapping window.
    Change the column transformation mappings to be executed on STAGE .
    It should resolve this issue.
    Thanks,
    Sutirtha

  • Oracle 10g SQL

    Hi ,
    I want some information regarding Oracle 10g SQL Exam.Please provide any dumps,links,books or any other related information.
    Thanks in Advance
    Laxman

    login to otn.oracle.com to find more information on exams
    underline Steps to Become Oracle Certified_underline_
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=50#1
    If you are from India, below is the contact info
    Bangalore 080 41084657
    Chennai 044-66346114
    Delhi 011-46509015
    Hyderabad 040-66397157
    Kolkata 033-66162000
    Mumbai 022-67711214
    Ahemdabad 079-40024246
    Pune 020-66321002
    Thank You

  • "Oracle Database 10g: SQL Fundamentals I"  with a FRENCH language ?

    S'il vous plait ,je veux telecharger des cours en "Oracle Database 10g: SQL Fundamentals I" en francais est ce qu'il ya des liens disponible...? Merci
    -Please i want to download a Course "Oracle Database 10g: SQL Fundamentals I" with a FRENCH language wat do i do?
    thanks for your

    You could look for it in your local bookstore or at amazon.
    I think oracle provides only documentation in english language for download, but I may be wrong.
    Edited by: hm on 09.11.2011 04:08

  • Tablesusing in the work practice of Oracle Database 10g-SQL Fundam 1

    I want scripts sql builder for the tables (LOCATIONS, DEPARTMENTS, JOB_HISTORY, COUNTRIES, EMPLOYEES, JOBS, REGIONS, JOB_GRADES) use in the work practice of Oracle Database 10g-SQL Fundamentals(I)
    I thank you
    Youssef BENABDELLAH

    These exist in the HR schema.
    You may need to log in as SYS user and unlock the HR user account so you can log in with it (and set a password too if appropriate/necessary)

  • Oracle 10g SQL Profiler Equivalent?

    As per the subject, I can monitor sessions via the web gui, but I need to see actual SQL statements that are hitting the 10g server. Is there an Oracle 10g SQL Profiler equivalent?

    XE?
    You might want to hunker down with some of the docco available at http://www.oracle.com/pls/db102/portal.portal_db?selected=1
    In particular, you could look at the 'Reference' manual (not SQL Reference, or any other ... Reference) and browse through the DBA_ and V$ views listed. The Concepts and Administration manuals are interesting as well.
    The specific views of interest include, but are not limited to, V$SQLAREA and V$SQLTEXT

  • Questions About Chapter 2 in Oracle DB 10g: SQL Fundamentals II

    Hello,
    first of all i'm glad to be a member of your forum. I have joined a beginner Oracle Course: Intro to SQL. I'm facing some problems understanding some concepts in Chapter 2 of Oracle Database 10g: SQL Fundamentals II text book. I got about 15 questions. However, i will only ask two questions at first. Since i'm a newbie, please answer it in a simplistic form. Excuse me if you see grammatical mistakes.
    Dropping a column can take a while if the column has a large number of values. In this case it may be better to set it to be unused and drop it when the number of users on the system are fewer to avoid extended locks.
    Questions:
    "when the number of users on the system are fewer to avoid extended locks."
    1. Can you explain this to me please?! fewer than before? fewer than? What if users kept increasing during the years! then this "fewer" may not happen until the company collapse!
    2. Why do we need to use unused columns? When should we use unused columns?

    Great! .... I got more questions, i just do not want to open a new same thread. Thus, i will just post the questions in here and i hope i will get help from experts...Please bare with me guys...The questions are numbered, unnumbered parts are information that helps you understand my question.
    Note: just answer what you are willing to, one question or whatever you want. I'm not expecting to get all the answers from one member :)
    Thanks for understanding
    Page 2-7:
    Certain columns can never be dropped such as columns that form part of the partitioning
    key for a partitioned table or columns that form part of the primary key of an index- organized table.
    Questions:
    "columns that form part of the partitioning key for a partitioned table"
    *1. Do they mean one table can be split into two different storage? What is the thing that*
    link these both tables to make Oracle Server realize these two tables are actually one  table? Is is tablespace_name?
    "columns that form part of the primary key of an index-organized table."
    *2. Can you clarify the above sentence please*
    *3. If i have set of columns that has large amount of data, i rather set them unused then*
    drop them because the response time is going to be faster! I do not get it, can you
    explain please? What i know is drop drops the column and release the disk space whilst
    unused column make the columns useless and does not release disk space yet until we drop them, so
    drop column does it in one step unlike taking the unused column process. In brief, i would like to know
    why dropping unused columns that has large set of data is faster then dropping the column
    directly...
    Page 2-12
    4. ALTER TABLE emp2 ADD CONSTRAINT emp_dt_fk
    FOREIGN KEY (Department_id)
    REFERENCES departments ON DELETE CASCADE);
    The above query is written in text book. I think it should be written as
    ALTER TABLE emp2 ADD CONSTRAINT emp_dt_fk
    FOREIGN KEY (Department_id)
    REFERENCES departments(dept_id) ON DELETE CASCADE;
    Am i correct?
    *5. Can you tell me what deferring constraints is in one sentence please? Why do we need it? When do we need it in real-life?*
    *7. You can defer checking constraints for validity until the end of the transaction. A*
    constraint is deferred if the system checks that it is satisfied only on commit. If a
    deferred constraint is violated, then commit causes the transaction to roll back.
    I do not understand the above paragraph, please explain. What i know is "end of
    transaction" ends with ; or commit
    Page 2-18
    create table test1 (
    pk NUMBER PRIMARY KEY,
    fk NUMBER,
    col1 NUMBER,
    col2 NUMBER,
    CONSTRAINT fk_constraint FOREIGN KEY (fk) REFERENCES test1,
    CONSTRAINT ck1 CHECK (pk > 0 and col1 > 0),
    CONSTRAINT ck2 CHECK (col2 > 0) );
    -- "CONSTRAINT fk_constraint FOREIGN KEY (fk) REFERENCES test1"
    *8. This is wrong isn't it? It references to test1 but no column specified.*
    An error is returned for the following statements:
    ALTER TABLE test1 DROP (pk); -- pk is a parent key.
    *9. We can not drop it because we did not mention ON DELETE CASCADE. Am i right?*
    ALTER TABLE test1 DROP (col1) -- col1 is referenced by multicolumn constraint ck1.
    *10. I do not get it, can you explain please. col1 is not referenced, i see CHECK constraint is applied*
    but no references made. Secondly, is ck1 considered multicolumn because it check two columns?
    Or multicolumn here represents something else?
    ALTER TABLE emp2
    DROP COLUMN employee_id CASCADE CONSTRAINTS;
    *11. This drop employee_id column and all its child. Correct?*
    ALTER TABLE test1
    DROP (pk, fk, col1) CASCADE CONSTRAINTS;
    *12. This drops three columns and all its child if there are any. Correct?*
    *13. Then what's the difference between ON DELETE CASCADE and CASCADE CONSTRAINTS?*
    For example, What if employee_id in emp2 table definition does not have ON DELETE CASCADE,
    will CASCADE CONSTRAINTS work? Please explain...
    Page 2-22
    When you are expecting a large data load and want to speed the operation. You may want
    to disable the constraints while performing the load and then enable them, in which case
    having a unique index on the primary key will still cause the data to be verified during
    the load. So you can first create a nonunique index on the column designated as PRIMARY
    KEY, and then create the PRIMARY KEY column and specify that it should use the existing
    index.
    Example:
    1. create the table
    create table new_emp
    (employee_id number(6),
    first_name varchar2(10)
    2. create the index
    create index emp_id_idx2 on new_emp(employee_id);
    "You may want to disable the constraints while performing the load and then enable them"
    so i suggest to load all data i want into new_emp.
    3. create the primary key
    alter table new_emp ADD primary key (employee_id) USING index emp_id_idx2;
    What i understand is the following:
    If we want to load large data into the new_emp, its better to create the table without any
    constraints - in our case the constraint is primary key. After that, we create nonunique
    index points to employee_id and then load data into new_emp. Finally, specify employee_id
    as primary key using the nonunique index.
    *14. Is my explanation correct?*
    "in which case having a unique index on the primary key will still cause the data to be
    verified during the load."
    *15. Data to be verified against what? Is it to be verified whether its NULL or NOT NULL? I*
    know primary key does not take NULL and every value must be unique.
    After loading all data we want, what if i did
    "alter table new_emp ADD primary key (employee_id);"
    *16. Will i face any problems or inefficient process?*
    I do not think we need step two, we could do the following:
    1. create the table
    create table new_emp
    (employee_id number(6),
    first_name varchar2(10)
    "You may want to disable the constraints while performing the load and then enable them"
    so i suggest to load all data i want itno new_emp.
    2. create the primary key
    alter table new_emp ADD primary key (employee_id);
    *17. The above steps are as efficient as the three steps i mentioned above. The only difference*
    is we let index be created implicitly. Right? If no, why?
    Page 2-23
    CREATE INDEX upper_dept_name_idx ON dept2(UPPER(department_name));
    The following statement may use the index, but without the WHERE clause the
    Oracle server may perform a full table scan:
    select *
    from employees
    where UPPER(last_name) IS NOT NULL
    ORDER BY UPPER (last_name);
    "but without the WHERE clause the Oracle server may perform a full table scan"
    *18. The above query let oracle server perform full table scan anyway! Right? It has to go*
    through every field and check is it not null or not. I know we are using function-based
    index but there are alot of not null last_name! so oracle server must scan one by one. If
    we only had one not null field, then i would say Oracle server can point to that field
    immediately by the aid of function-based index we created above. Can you clarify please...
    Another related topic statement that i do not get it yet:
    "The oracle server treats indexes with columns marked DESC as function-based indexes."
    *19. The bove statements is so general. What if we have a column ordered by DESC order and we*
    did not create any function-based indexes, will statement be true?!
    Lets go back the above query:
    ORDER BY UPPER (last_name);
    *20. Its not DESC. To me, the above query does not flow with this statement "The oracle server treats*
    *indexes with columns marked DESC as function-based indexes."?*
    Page 2-27
    Regarding FLASHBACK TABLE, you can invoke a flashback table operation on one or more
    tables, even on tables in different schema. You specify the point in time to which you
    want to revert by providing a valid timestamp. By default, database triggers are disabled
    for all tables involved. You can override this default behavior by specifying the ENABLE
    TRIGGERS clause.
    "By default, database triggers are disabled for all tables involved. You can override this
    default behavior by specifying the ENABLE TRIGGERS clause."
    *21. What are database triggers?*
    *22. About External Tables. What are external tables? When is it used in real-life? Why do*
    we want External Tables?
    Page 2-30
    Oracle server provides two major access drivers for external tables. They are
    ORACLE_LOADER access driver and ORACLE_DATAPUMP access driver. ORACLE_DATAPUMP used to
    both import and export data using a platform-independent format.
    "platform-independent format."
    *23. What is the format? Is it .dat?*
    Page 2-35
    CREATE TABLE oldemp ( fname char(25), lname char(25) )
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY emp_dir
    ACCESS PARAMETERS
    (RECORDS DELIMINATED BT NEWLINE
    NOBADFILE
    NOLOGFILE
    FIELDS TERMINATED BY ',' (fname POSITION (1:20) CHAR, lname POSITION (22:41) CHAR)
    LOCATION ('emp.dat') )
    PARALLEL 5
    REJECT LIMIT 200;
    *24. Can you please explain the below part:*
    ACCESS PARAMETERS
    (RECORDS DELIMINATED BT NEWLINE
    NOBADFILE
    NOLOGFILE
    FIELDS TERMINATED BY ',' (fname POSITION (1:20) CHAR, lname POSITION (22:41) CHAR)
    *25. Can you please explain what is PARALLEL 5? and Why do we need it?*
    Again, any help is appreciated...
    Edited by: user11164565 on Jul 21, 2009 4:41 AM

  • Oracle Database 10g:SQL Fundamentals II 2-12

    In Oracle Database 10g:SQL Fundamentals II Edition 1.1 Dated August 2004. On the page 2-12.
    The last parenthesis is closed but not opened.

    Is this book part of the Oracle product, or a third-party book (including Oracle Press)? If it's third-party, the publisher would appreciate knowing the problem, but you'd have to write to them. The Oracle staff monitoring documentation questions on this forum don't have anything to do with the third-party books.
    Thanks,
    Diana

Maybe you are looking for

  • SENDER FILE ADAPTER (FTP) ERROR

    Hi, Iam getting the following error in sender file adapter: Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550 *** ERROR *** NO BATCHES FOR TRANSMISSION Could anyone help me in this. Thanks &Regards, Kiran

  • How to enable triplefinger swipe gesture on Windows 8.1?

    I've tried to modify the about:config section with no success. It works only the ALT+TwoFingerGesture to go back and forward on history. In explorer I can go back and forward with a three finger swipe gesture, can it be enabled on firefox?

  • [9.2] WebServices and soap:address - problem with exported EAR

    I 've created a top-down web service from a wsdl file. The soap address in the orginal wsdl file is <soap:address location="https://localhost:7002/SITWebServices"/> The soap address in the wsdl file that Workshop create in WebContent/wsdl is: <soap:a

  • Formulae in Bex

    I have a calculated Key Figure in a report and want to create another Calcualted KF based on this value. If Calculated KF 1 >= 0 and <= 35    Cal KF 2 = Calculated KF 1 Else    Cal KF 2 = 9999 Please help me to acheive this in Bex

  • Smooth Cluster Array Scrolling

    This is an odd question.  Is there anyway to have a "smooth scrolling" feature of an array where the horizontol or vertical scroll bars are enabled?  LabVIEW tends to "snap" scrolling to elements end-to-end.  This is awkward for the end user when mod