SQL*LOADER에서 원하는 컬럼을 skip하여 load하는 방법

PURPOSE
================================
SQL*LOADER를 통해 data를 load하는 경우, 실제 data가 들어갈 테이블의 구조와 다른 data가 확보되는 경우가 있습니다. 이 경우 data를 다시 확보할 수 있다면 다행이지만, 불행히도 그렇지 못한 경우에는 어떻게 해야할 까요?
예를 들어 다음과 같은 형태의 data가 있는데...
aaa,bbb,ccc,ddd
eee,fff,ggg,hhh
실제로 table에는 2개의 column만이 존재하고, load하기 원하는 data는 다음과 같을 경우... 적용가능한 몇 가지 방법을 살펴보려 합니다.
bbb,ddd
fff,hhh
(아래 test는 10.2 에서 진행되었습니다.)
EXPLANATION
================================
1. DATA with Fixed-Length
data 내의 항목이 모두 fixed-length라면, POSITION을 사용하여 간단히 처리할 수 있습니다.
# target table
create table test (col1 varchar2(10),col2 varchar2(10))
# data
aaa,bbb,ccc,ddd
eee,fff,ggg,hhh
# control file
load data
infile test.dat
into table test
(col1 position(5:7) char,
col2 (13:15) char)
다음과 같은 결과를 확인할 수 있습니다.
SQL> select * from test;
COL1 COL2
bbb ddd
fff hhh
2. DATA with Variable-Length
그러나 data 내의 항목에 variable-length 항목이 있다면, POSITION을 사용할 수 없습니다.
따라서 다음과 같은 회피책을 고려해볼 수 있습니다.
(1) 일단 LOAD 완료 후, 필요 없는 COLOMN을 DROP합니다.
(2) 일단 LOAD 완료 후, CREATE TABLE ~ AS SELECT 를 통해 원하는 TABLE을 재생성합니다.
그런데 이런 형태의 작업은 부가적인 작업시간을 필요로 합니다.
[대안] 다음과 같이 SKIP할 data에 대해 FILLER를 사용하되, COLUMN NAME은 '존재하지 않는' 것으로 사용합니다.
# target table
create table test (col1 varchar2(10),col2 varchar2(10))
# data
aaaaa,bbbbbb,cccc,dddd
eee,ffffffffff,gggggg,hhh
# control file
load data
infile test.dat
into table test
fields terminated by ","
(col99 filler char, <--- 존재하지 않는 이름
col1 char,
col88 filler char, <--- 존재하지 않는 이름
col2 char)
다음과 같은 결과를 확인할 수 있습니다.
SQL> select * from test;
COL1 COL2
bbbbbb dddd
ffffffffff hhh

Similar Messages

  • ORACLE 8I SQL*LOADER DATAFILE의 특정 FIELD DATA를 SKIP하고 LOADING하는 방법

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-09
    ORACLE 8I SQL*LOADER DATAFILE의 특정 FIELD DATA를 SKIP하고 LOADING하는 방법
    ===========================================================================
    아래의 예제와 같이 가변 길이의 filed들이 ',', '|' 와 같은 구분자로
    구분이 되고 있는 경우 oracle 8i부터 제공되는 'FILLER'라고 하는 필드
    구분자를 사용하여 상태인식자로 표시하여 insert시 skip할 수 있다.
    <Example>
    TABLE : skiptab
    ===========================
         col1 varchar2(20)
         col2 varchar2(20)
         col3 varchar2(20)
    CONTROLFIEL : skip.ctl
    load data
    infile skip.dat
    into table skiptab
    fields terminated by ","
    (col1 char,
    col2 filler char,
    col3 char)
    DATAFILE : skip.dat
    SMITH, DALLAS, RESEARCH
    ALLEN, CHICAGO, SALES
    WARD, CHICAGO, SALES
    data loading :
    $sqlldr scott/tiger control=skip.ctl
    결과 :
    COL1 COL3
    SMITH RESEARCH
    ALLEN SALES
    WARD SALES

  • Sql loader - skip record question

    I am running Oracle 9 and using sql loader to import text file into table. Can sql loader skips the record which contain blank line or carriage return? Do I need to set up with options? Please advise me how. Thanks.

    http://docs.oracle.com/cd/B10500_01/server.920/a96652/ch05.htm
    http://www.orafaq.com/wiki/SQL*Loader_FAQ

  • SQl loader not loading records

    I have my control file like this
    options (skip=1)
    LOAD DATA
    INFILE xxx.csv
    into table xxx
    TRUNCATE
    FIELDS TERMINATED BY ',' optionally enclosed by '"'
         RECORD_STATUS,
         ITEM_NUMBER,
    Sql loader not loading records and giving error like .......
    Commit point reached - logical record count 14
    Commit point reached - logical record count 26
    Commit point reached - logical record count 84
    Commit point reached - logical record count 92
    and successfully loaded only 41 records among 420 records
    Plz help me

    HI Phiri,
    Thx for your reply.Here is the log file.
    SQL*Loader: Release 8.0.6.3.0 - Production on Wed May 12 21:26:30 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Control File: saba_price_break_allcur_test.ctl
    Data File: saba_price_break_allcur_test.csv
    Bad File: saba_price_break_allcur_test.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 1
    Errors allowed: 50
    Bind array: 64 rows, maximum of 65536 bytes
    Continuation: none specified
    Path used: Conventional
    Table SABA_PRICE_BREAK_ALLCUR_TEST, loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    Column Name Position Len Term Encl Datatype
    RECORD_STATUS FIRST * , O(") CHARACTER
    ITEM_NUMBER NEXT * , O(") CHARACTER
    PA1 NEXT * , O(") CHARACTER
    PA2 NEXT * , O(") CHARACTER
    UOM_CODE NEXT * , O(") CHARACTER
    RANGE_PRICING NEXT * , O(") CHARACTER
    RANGE_FROM NEXT * , O(") CHARACTER
    RANGE_TO NEXT * , O(") CHARACTER
    PRICING_ATTRIBUTE NEXT * , O(") CHARACTER
    PRICING_METHOD NEXT * , O(") CHARACTER
    PRICE_BREAK_LINE_NO NEXT * , O(") CHARACTER
    TEMPLATE_NAME NEXT * , O(") CHARACTER
    ITEM_DESC NEXT * , O(") CHARACTER
    PRICE_USD NEXT * , O(") CHARACTER
    PRICE_EUR NEXT * , O(") CHARACTER
    PRICE_GBP NEXT * , O(") CHARACTER
    PRICE_JPY NEXT * , O(") CHARACTER
    GL_ACCOUNT NEXT * , O(") CHARACTER
    LONG_DESC NEXT * , O(") CHARACTER
    STATUS NEXT * , O(") CHARACTER
    MESSAGE NEXT * , O(") CHARACTER
    Record 12: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 13: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 27: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 28: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 29: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 30: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 31: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 32: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 33: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 34: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 35: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 36: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 37: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 38: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 39: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 40: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 41: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 42: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 43: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 44: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 45: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 46: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 47: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 48: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 49: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 50: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 51: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 52: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 53: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 54: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 55: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 56: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 57: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 58: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 59: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 60: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 61: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 62: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 63: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 64: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 65: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 66: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 67: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 68: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 69: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 70: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 73: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 74: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 87: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 91: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    Record 92: Rejected - Error on table SABA_PRICE_BREAK_ALLCUR_TEST, column LONG_DESC.
    Field in data file exceeds maximum length
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table SABA_PRICE_BREAK_ALLCUR_TEST:
    41 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 65016 bytes(12 rows)
    Space allocated for memory besides bind array: 0 bytes
    Total logical records skipped: 1
    Total logical records read: 92
    Total logical records rejected: 51
    Total logical records discarded: 0
    Run began on Wed May 12 21:26:30 2010
    Run ended on Wed May 12 21:27:06 2010
    Elapsed time was: 00:00:36.08
    CPU time was: 00:00:00.00

  • Java.sql.SQLException: Cannot load JDBC driver class 'null'

    Hi,
    I am a beginner of using jdbc, i use the tomcat4.1.x, mysql3.23.54 and it's jdbc driver 2.0.14. I place the drive <in jar file> in tomcat/commons/lib and configure the server.xml, web.xml and some testing coding. But there are some error like the following:
    java.sql.SQLException: Cannot load JDBC driver class 'null'
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:529)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:312)
         at foo.DBTest.init(DBTest.java:18)
         at org.apache.jsp.test_jsp._jspService(test_jsp.java:48)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
    of course its some of the error code and there are more.
    Why I have this problems and how can I fix it? Can someone help me??
    Thanks,
    Tong
    I place my test.jsp at tomcat/webapps/DBTest and DBTest.java at tomcat/webapps/DBTest/WEB-INF/classes/foo
    additional of the tomcat/conf/server.xml
    <Resource name="TestDB" auth="Container" type="javax.sql.DataSource" description="MySQL TestDB"/>
    <ResourceParams name="TestDB">
    <parameter><name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter><name>maxActive</name><value>10</value></parameter>
    <parameter><name>maxIdle</name><value>1</value></parameter>
    <parameter><name>maxWait</name><value>10000</value></parameter>
    <parameter><name>username</name><value>javauser</value></parameter>
    <parameter><name>password</name><value>javadude</value></parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    tomcat/webapps/DBTest/WEB-INF/web.xml :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>MySQL Test App</description>
    </web-app>

    Post the part of your code that loads the driver and connects. My guess is you are using a variable for the name of the driver and the variable has not been set to anything(intially set to null).
    Thanks
    Cardwell

  • Java.sql.SQLException: Cannot load JDBC driver

    THis topic has been discussed many many times but I still not able to connect to Oracle 8i from my servlet using Tomcat 4.1.12 on hp-ux and java1.3
    I always got: java.sql.SQLException: Cannot load JDBC driver class 'null'
    In server.xml:
    <Context Path="/MyApp" docBase="MyApp" debug="0" reloadable="true" >
    <Resource name="jdbc/ora" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/ora" >
    <parameter>
    <name>username</name>
    <value>myname</value>
    </parameter>
    <parameter> <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter> <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:oracle:thin:@myhostname:1521:ora</value>
    </parameter> </ResourceParams>
    </Context>
    In MyApp/WEB-INF/web.xml:
    <resource-ref>
    <res-ref-name>jdbc/ora</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    The Oracle jdbc jar file classes12.jar is under common/lib in Tomcat's home. read Permission is there.
    In the servlet:
    init(ServletConfig config):
    Context init = new InitialContext();
    Context ctx = (Context) init.lookup("java:comp/env");
    dataSource = (DataSource) ctx.lookup("jdbc/acdb");
    doPost(..)
    the error occured at :
    synchronized (dataSource){
    con = dataSource.getConnection();}
    Thanks in advance!

    Everything looks correct to me, except for one thing.
    In your web.xml you have this:
    <res-ref-name>jdbc/ora</res-ref-name> In your server.xml, you have this tag, which matches your web.xml:
    <ResourceParams name="jdbc/ora" > But in your Java code, you've got this:
    dataSource = (DataSource) ctx.lookup("jdbc/acdb"); When I've successfully set up a Web app data source, all three names had to agree. You either need to change your Java lookup name to "jdbc/ora" or change the web.xml and server.xml to "jdbc/acdb".
    See if that does it. Everything else sounds correct to me. - MOD

  • Using SQL*Loader to load a .csv file having multiple CLOBs

    Oracle 8.1.5 on Solaris 2.6
    I want to use SQL*Loader to load a .CSV file that has 4 inline CLOB columns. I shall attempt to give some information about the problem:
    1. The CLOBs are not delimited in the field level and could themselves contain commas.
    2. I cannot get the data file in any other format.
    Can anybody help me out with this? While loading LOB in predetermined size fields, is there a limit on the size?
    TIA.
    -Murali

    Thanks for the article link. The article states "...the loader can load only XMLType tables, not columns." Is this still the case with 10g R2? If so, what is the best way to workaround this problem? I am migrating data from a Sybase table that contains a TEXT column (among others) to an Oracle table that contains an XMLType column. How do you recommend I accomplish this task?
    - Ron

  • This is an message when I open up CS4 in Illustrator.  "Some plugins in additional plugins folder are conflicting with application or user plugins.  It will skip loading plugins from additional plug-ins folder?  What does this mean and how can I fix it.

    This is an message when I open up CS4 in Illustrator.  "Some plugins in additional plugins folder are conflicting with application or user plugins.  It will skip loading plugins from additional plug-ins folder?  What does this mean and how can I fix it?

    Thanks Larry.  I thought so.  I will do this weekend.  Again, I appreciate your help.
    Trying to get updated software – I am not a fan of the cloud stuff.  Nothing I can do about it.
    Thanks again Larry!

  • Shipping dates(Loading start,Loading End,shipment start...)

    Hi,
    In the shipment transaction(VT01n) what (Configuration)settings are required to populate the fields
    Loading start,Loading End,shipment start, and shipment end dates  in the Planning side.
    REgards
    Rahul

    Yes. Its called Inferred member concept or Early Arriving facts
    You can handle them as follows
    1. In the ETL for fact identify cases where you've dimension key value coming but reference missing from the corresponding dimension table
    2. Insert those records to dimension table with just the available business key value and retrieve the generated surrogate key. For all the other attributes put some default value. Have a bit field called IsInferred in the table with default value 0. Set
    it to 1 for the above records. This would avoid missing reference error for FK
    3. In the ETL for the dimension include one step to look for cases where IsInferred = 1 and do an update of all attribute values except business key. Also make sure IsInferred is reset to 0. This will make sure the missing information gets automatically
    added during the next ETL run for the dimensions
    4. If you make use of standard SCD task available in SSIS it can take care of this scenario by itself
    See
    http://www.mssqltips.com/sqlservertip/1446/handle-early-arriving-facts-in-sql-server-integration-services-ssis/
    http://chandunayakwadi.blogspot.in/2013/01/handling-inferred-members-in-ssis.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Session Task 3 Loading - SS_0 - Load Data FAILS Return Code - 7000

    I cannot figure out why this is happening! Any Help is greatly appreciated!
    Here are tasks 2 & 3 ...
    Operator Session Task:
    Step 2 Loading - SS_0 - Create work table
    Default: Query / Execution Plan
    create table ODI_TEMP.C$_0CONTRACT_AUTOMATION_FACT
    C1_PROCESSINSTANCE_ID NUMBER(20) NULL,
    C2_WORKFLOW_START_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C3_WORKFLOW_END_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C4_WORKFLOW_NAME VARCHAR2(100) NULL,
    C5_AGENCY_CONT_ADMIN_NAME VARCHAR2(100) NULL,
    C6_AGENCY_DESIGNATION VARCHAR2(100) NULL,
    C7_AGENCY_INITIATING_APRV_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C8_ASSIGNED_CITYATRNY_NAME VARCHAR2(100) NULL,
    C9_AUDITOR_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C10_AUDITOR_SIGN_NAME VARCHAR2(100) NULL,
    C11_AWARD_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C12_BID_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C13_CC_ORDINANCE_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C14_CC_ORDINANCE_NUMBER VARCHAR2(100) NULL,
    C15_CC_ORDINANCE_REQUIRED_FL VARCHAR2(10) NULL,
    C16_CITYATRNY_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C17_CITYATRNY_SIGN_NAME VARCHAR2(100) NULL,
    C18_CITY_PROJECT_NUMBER VARCHAR2(100) NULL,
    C19_CLERK_FILING_NUMBER VARCHAR2(100) NULL,
    C20_CLERK_RECORDER_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C21_CLERK_RECORDER_SIGN_NAME VARCHAR2(100) NULL,
    C22_COMPETITIVE_BID_CMT VARCHAR2(100) NULL,
    C23_COMPETITIVE_BID_FL VARCHAR2(10) NULL,
    C24_CONT_AMENDMENT_NUMBER VARCHAR2(100) NULL,
    C25_CONT_CONTROL_NUMBER VARCHAR2(100) NULL,
    C26_CONT_DESC VARCHAR2(255) NULL,
    C27_CONT_EXIST_TERM_END_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C28_CONT_EXIST_TERM_START_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C29_CONT_PROP_TERM_END_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C30_CONT_PROP_TERM_START_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C31_CONT_REQUESTOR_NAME VARCHAR2(100) NULL,
    C32_CONT_REQUEST_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C33_CONT_TYPE VARCHAR2(100) NULL,
    C34_CONT_WORK_TYPE VARCHAR2(100) NULL,
    C35_DOLLAR_AMT_PRIOR_CONT_TOTA VARCHAR2(100) NULL,
    C36_DOLLAR_AMT_THIS_REQUEST VARCHAR2(100) NULL,
    C37_DSBO_APRV_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C38_INITIATING_AUTHORITY_NAME VARCHAR2(100) NULL,
    C39_MAYOR_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C40_MAYOR_SIGN_NAME VARCHAR2(100) NULL,
    C41_MOFIN_SIGN_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C42_MOFIN_SIGN_NAME VARCHAR2(100) NULL,
    C43_NEW_TOTAL_IF_EXECUTED VARCHAR2(100) NULL,
    C44_PERSON_PHONE VARCHAR2(100) NULL,
    C45_PREVAILING_WAGE_REQUIRED_F VARCHAR2(10) NULL,
    C46_PROGRAM VARCHAR2(100) NULL,
    C47_REQ_BUSINESS_UNIT VARCHAR2(100) NULL,
    C48_RISK_AND_SAFETY_APRV_DT TIMESTAMP (6) WITH TIME ZONE NULL,
    C49_TECHSERV_REVIEW_REQUIRED_F VARCHAR2(10) NULL,
    C50_VEN_ADDRESS VARCHAR2(100) NULL,
    C51_VEN_ID VARCHAR2(100) NULL,
    C52_VEN_NAME VARCHAR2(100) NULL,
    C53_VEN_SIGN_DT DATE NULL
    NOLOGGING
    Step 3 Loading - SS_0 - Load Data
    Loading: Query / Execution Plan
    select
    STG_CONTRACT_AUTOMATION.PROCESSINSTANCE_ID C1_PROCESSINSTANCE_ID,
    STG_CONTRACT_AUTOMATION.WORKFLOW_START_DT C2_WORKFLOW_START_DT,
    STG_CONTRACT_AUTOMATION.WORKFLOW_END_DT C3_WORKFLOW_END_DT,
    STG_CONTRACT_AUTOMATION.WORKFLOW_NAME C4_WORKFLOW_NAME,
    STG_CONTRACT_AUTOMATION.AGENCY_CONT_ADMIN_NAME C5_AGENCY_CONT_ADMIN_NAME,
    STG_CONTRACT_AUTOMATION.AGENCY_DESIGNATION C6_AGENCY_DESIGNATION,
    STG_CONTRACT_AUTOMATION.AGENCY_INITIATING_APRV_DT C7_AGENCY_INITIATING_APRV_DT,
    STG_CONTRACT_AUTOMATION.ASSIGNED_CITYATRNY_NAME C8_ASSIGNED_CITYATRNY_NAME,
    STG_CONTRACT_AUTOMATION.AUDITOR_SIGN_DT C9_AUDITOR_SIGN_DT,
    STG_CONTRACT_AUTOMATION.AUDITOR_SIGN_NAME C10_AUDITOR_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.AWARD_DT C11_AWARD_DT,
    STG_CONTRACT_AUTOMATION.BID_DT C12_BID_DT,
    STG_CONTRACT_AUTOMATION.CC_ORDINANCE_DT C13_CC_ORDINANCE_DT,
    STG_CONTRACT_AUTOMATION.CC_ORDINANCE_NUMBER C14_CC_ORDINANCE_NUMBER,
    STG_CONTRACT_AUTOMATION.CC_ORDINANCE_REQUIRED_FL C15_CC_ORDINANCE_REQUIRED_FL,
    STG_CONTRACT_AUTOMATION.CITYATRNY_SIGN_DT C16_CITYATRNY_SIGN_DT,
    STG_CONTRACT_AUTOMATION.CITYATRNY_SIGN_NAME C17_CITYATRNY_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.CITY_PROJECT_NUMBER C18_CITY_PROJECT_NUMBER,
    STG_CONTRACT_AUTOMATION.CLERK_FILING_NUMBER C19_CLERK_FILING_NUMBER,
    STG_CONTRACT_AUTOMATION.CLERK_RECORDER_SIGN_DT C20_CLERK_RECORDER_SIGN_DT,
    STG_CONTRACT_AUTOMATION.CLERK_RECORDER_SIGN_NAME C21_CLERK_RECORDER_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.COMPETITIVE_BID_CMT C22_COMPETITIVE_BID_CMT,
    STG_CONTRACT_AUTOMATION.COMPETITIVE_BID_FL C23_COMPETITIVE_BID_FL,
    STG_CONTRACT_AUTOMATION.CONT_AMENDMENT_NUMBER C24_CONT_AMENDMENT_NUMBER,
    STG_CONTRACT_AUTOMATION.CONT_CONTROL_NUMBER C25_CONT_CONTROL_NUMBER,
    STG_CONTRACT_AUTOMATION.CONT_DESC C26_CONT_DESC,
    STG_CONTRACT_AUTOMATION.CONT_EXIST_TERM_END_DT C27_CONT_EXIST_TERM_END_DT,
    STG_CONTRACT_AUTOMATION.CONT_EXIST_TERM_START_DT C28_CONT_EXIST_TERM_START_DT,
    STG_CONTRACT_AUTOMATION.CONT_PROP_TERM_END_DT C29_CONT_PROP_TERM_END_DT,
    STG_CONTRACT_AUTOMATION.CONT_PROP_TERM_START_DT C30_CONT_PROP_TERM_START_DT,
    STG_CONTRACT_AUTOMATION.CONT_REQUESTOR_NAME C31_CONT_REQUESTOR_NAME,
    STG_CONTRACT_AUTOMATION.CONT_REQUEST_DT C32_CONT_REQUEST_DT,
    STG_CONTRACT_AUTOMATION.CONT_TYPE C33_CONT_TYPE,
    STG_CONTRACT_AUTOMATION.CONT_WORK_TYPE C34_CONT_WORK_TYPE,
    STG_CONTRACT_AUTOMATION.DOLLAR_AMT_PRIOR_CONT_TOTAL C35_DOLLAR_AMT_PRIOR_CONT_TOTA,
    STG_CONTRACT_AUTOMATION.DOLLAR_AMT_THIS_REQUEST C36_DOLLAR_AMT_THIS_REQUEST,
    STG_CONTRACT_AUTOMATION.DSBO_APRV_DT C37_DSBO_APRV_DT,
    STG_CONTRACT_AUTOMATION.INITIATING_AUTHORITY_NAME C38_INITIATING_AUTHORITY_NAME,
    STG_CONTRACT_AUTOMATION.MAYOR_SIGN_DT C39_MAYOR_SIGN_DT,
    STG_CONTRACT_AUTOMATION.MAYOR_SIGN_NAME C40_MAYOR_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.MOFIN_SIGN_DT C41_MOFIN_SIGN_DT,
    STG_CONTRACT_AUTOMATION.MOFIN_SIGN_NAME C42_MOFIN_SIGN_NAME,
    STG_CONTRACT_AUTOMATION.NEW_TOTAL_IF_EXECUTED C43_NEW_TOTAL_IF_EXECUTED,
    STG_CONTRACT_AUTOMATION.PERSON_PHONE C44_PERSON_PHONE,
    STG_CONTRACT_AUTOMATION.PREVAILING_WAGE_REQUIRED_FL C45_PREVAILING_WAGE_REQUIRED_F,
    STG_CONTRACT_AUTOMATION.PROGRAM C46_PROGRAM,
    STG_CONTRACT_AUTOMATION.REQ_BUSINESS_UNIT C47_REQ_BUSINESS_UNIT,
    STG_CONTRACT_AUTOMATION.RISK_AND_SAFETY_APRV_DT C48_RISK_AND_SAFETY_APRV_DT,
    STG_CONTRACT_AUTOMATION.TECHSERV_REVIEW_REQUIRED_FL C49_TECHSERV_REVIEW_REQUIRED_F,
    STG_CONTRACT_AUTOMATION.VEN_ADDRESS C50_VEN_ADDRESS,
    STG_CONTRACT_AUTOMATION.VEN_ID C51_VEN_ID,
    STG_CONTRACT_AUTOMATION.VEN_NAME C52_VEN_NAME,
    STG_CONTRACT_AUTOMATION.VEN_SIGN_DT C53_VEN_SIGN_DT
    from ALF_STG.STG_CONTRACT_AUTOMATION STG_CONTRACT_AUTOMATION
    where (1=1)
    Default: Query /Execution Plan
    insert into ODI_TEMP.C$_0CONTRACT_AUTOMATION_FACT
    C1_PROCESSINSTANCE_ID,
    C2_WORKFLOW_START_DT,
    C3_WORKFLOW_END_DT,
    C4_WORKFLOW_NAME,
    C5_AGENCY_CONT_ADMIN_NAME,
    C6_AGENCY_DESIGNATION,
    C7_AGENCY_INITIATING_APRV_DT,
    C8_ASSIGNED_CITYATRNY_NAME,
    C9_AUDITOR_SIGN_DT,
    C10_AUDITOR_SIGN_NAME,
    C11_AWARD_DT,
    C12_BID_DT,
    C13_CC_ORDINANCE_DT,
    C14_CC_ORDINANCE_NUMBER,
    C15_CC_ORDINANCE_REQUIRED_FL,
    C16_CITYATRNY_SIGN_DT,
    C17_CITYATRNY_SIGN_NAME,
    C18_CITY_PROJECT_NUMBER,
    C19_CLERK_FILING_NUMBER,
    C20_CLERK_RECORDER_SIGN_DT,
    C21_CLERK_RECORDER_SIGN_NAME,
    C22_COMPETITIVE_BID_CMT,
    C23_COMPETITIVE_BID_FL,
    C24_CONT_AMENDMENT_NUMBER,
    C25_CONT_CONTROL_NUMBER,
    C26_CONT_DESC,
    C27_CONT_EXIST_TERM_END_DT,
    C28_CONT_EXIST_TERM_START_DT,
    C29_CONT_PROP_TERM_END_DT,
    C30_CONT_PROP_TERM_START_DT,
    C31_CONT_REQUESTOR_NAME,
    C32_CONT_REQUEST_DT,
    C33_CONT_TYPE,
    C34_CONT_WORK_TYPE,
    C35_DOLLAR_AMT_PRIOR_CONT_TOTA,
    C36_DOLLAR_AMT_THIS_REQUEST,
    C37_DSBO_APRV_DT,
    C38_INITIATING_AUTHORITY_NAME,
    C39_MAYOR_SIGN_DT,
    C40_MAYOR_SIGN_NAME,
    C41_MOFIN_SIGN_DT,
    C42_MOFIN_SIGN_NAME,
    C43_NEW_TOTAL_IF_EXECUTED,
    C44_PERSON_PHONE,
    C45_PREVAILING_WAGE_REQUIRED_F,
    C46_PROGRAM,
    C47_REQ_BUSINESS_UNIT,
    C48_RISK_AND_SAFETY_APRV_DT,
    C49_TECHSERV_REVIEW_REQUIRED_F,
    C50_VEN_ADDRESS,
    C51_VEN_ID,
    C52_VEN_NAME,
    C53_VEN_SIGN_DT
    values
    :C1_PROCESSINSTANCE_ID,
    :C2_WORKFLOW_START_DT,
    :C3_WORKFLOW_END_DT,
    :C4_WORKFLOW_NAME,
    :C5_AGENCY_CONT_ADMIN_NAME,
    :C6_AGENCY_DESIGNATION,
    :C7_AGENCY_INITIATING_APRV_DT,
    :C8_ASSIGNED_CITYATRNY_NAME,
    :C9_AUDITOR_SIGN_DT,
    :C10_AUDITOR_SIGN_NAME,
    :C11_AWARD_DT,
    :C12_BID_DT,
    :C13_CC_ORDINANCE_DT,
    :C14_CC_ORDINANCE_NUMBER,
    :C15_CC_ORDINANCE_REQUIRED_FL,
    :C16_CITYATRNY_SIGN_DT,
    :C17_CITYATRNY_SIGN_NAME,
    :C18_CITY_PROJECT_NUMBER,
    :C19_CLERK_FILING_NUMBER,
    :C20_CLERK_RECORDER_SIGN_DT,
    :C21_CLERK_RECORDER_SIGN_NAME,
    :C22_COMPETITIVE_BID_CMT,
    :C23_COMPETITIVE_BID_FL,
    :C24_CONT_AMENDMENT_NUMBER,
    :C25_CONT_CONTROL_NUMBER,
    :C26_CONT_DESC,
    :C27_CONT_EXIST_TERM_END_DT,
    :C28_CONT_EXIST_TERM_START_DT,
    :C29_CONT_PROP_TERM_END_DT,
    :C30_CONT_PROP_TERM_START_DT,
    :C31_CONT_REQUESTOR_NAME,
    :C32_CONT_REQUEST_DT,
    :C33_CONT_TYPE,
    :C34_CONT_WORK_TYPE,
    :C35_DOLLAR_AMT_PRIOR_CONT_TOTA,
    :C36_DOLLAR_AMT_THIS_REQUEST,
    :C37_DSBO_APRV_DT,
    :C38_INITIATING_AUTHORITY_NAME,
    :C39_MAYOR_SIGN_DT,
    :C40_MAYOR_SIGN_NAME,
    :C41_MOFIN_SIGN_DT,
    :C42_MOFIN_SIGN_NAME,
    :C43_NEW_TOTAL_IF_EXECUTED,
    :C44_PERSON_PHONE,
    :C45_PREVAILING_WAGE_REQUIRED_F,
    :C46_PROGRAM,
    :C47_REQ_BUSINESS_UNIT,
    :C48_RISK_AND_SAFETY_APRV_DT,
    :C49_TECHSERV_REVIEW_REQUIRED_F,
    :C50_VEN_ADDRESS,
    :C51_VEN_ID,
    :C52_VEN_NAME,
    :C53_VEN_SIGN_DT
    Execution Error
    Session Task fails with
    Status: Error
    Return Code: 7000
    java.lang.ClassCastException
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7822)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7546)
    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:7919)
    at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
    at com.sunopsis.sql.SnpsQuery.addBatch(SnpsQuery.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.g.y(g.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Unknown Source)

    Micheal,
    You didnt specify the KMs that you are using. I guess you are using LKM SQL to SQL or SQL to Oracle.
    From your diagnosis of the timestamp data, I would like to add that while using LKM SQL to SQL, it uses Java APIs to load the data. Java timestamp format is different from Oracle timestamp.
    There is thread that talks about this (File based datastore and using date format in those columns) but am unable to locate it.
    Also, this could be a Java compatibility issue. So upgrading a driver to ojdbc6.jar may help.
    Re: JAVA JDK
    If your source and target are both Oracle, then consider using LKM Oracle to Oracle (DBLINK). This will be superfast compared to other KMs as it does a set based processing vs. row based processing that the SQL to SQL km does.

  • Hi,  I'm in Nova Scotia, Canada and when I try to use Siri it loads and loads and then says, "I'm really sorry about this, but I can't take any requests right now. Please try again in a little while."  I rebooted and it didn't fix the problem. I just got

    Hi,
    I'm in Nova Scotia, Canada and when I try to use Siri it loads and loads and then says, "I'm really sorry about this, but I can't take any requests right now. Please try again in a little while."
    I rebooted and it didn't fix the problem. I just got my iPhone 4s (unlocked right from Apple) several weeks ago.

    Siri has been a bit more erratic than usual in the last week or so. Apple has announced a major announcement for 9/12. Conclusions are left to the reader.
    Best of luck.
    (Occasionally from Lower Economy, Colchester County).

  • I have poor/no service on my iphone 6  in places that I do have service on my old iphone 5.  Takes 10 minutes to send text and webpages will not load but load within seconds on the iphone 5 and forget making a phone call.  How do i resolve this issue??

    I have poor/no service on my iphone 6  in places that I do have service on my old iphone 5.  Takes 10 minutes to send text and webpages will not load but load within seconds on the iphone 5 and forget making a phone call.  How do i resolve this issue??

    Hey kristiac,
    Thanks for the question. If I understand correctly, you have no service on the iPhone. I would recommend that you read this article, it may be able to help the issue.
    If you can't connect to a cellular network or cellular data - Apple Support
    Thanks for using Apple Support Communities.
    Have a good one,
    Mario

  • Images are not loading/not loading completely, persona previews no longer works with scrollover - even after complete uninstall/reinstall, but images work in IE - suggestions on how to fix this??

    Images on websites often do not load or load incorrectly/incompletely load even after refreshing page and clearing caches. Often have to "clear recent history" 5 or 6 times within a single firefox session to get working links, images, completely loaded pages. The persona previews no longer do an "automatic preview" with a scroll over and now i no longer even get an image on the page to scroll over (images are just NOT THERE). I have done the safe mode test, have updated everything suggested, have checked all add ons as suggested in the troubleshooting guide and NOTHING shows as being a problem. I even did a complete uninstall and reinstall and it is STILL not working. Worried that it was an issue with my computer, i checked the pages in IE, and they worked PERFECTLY. I am uncertain what to do now. It started as a problem once or twice a week, and now it is EVERY time i bring up Firefox. Help?

    the second article did offer a suggestion that SEEMS to have helped ::crosses fingers:: - an about:config, resetting of the preferences for images. we'll see how long it lasts. THANK YOU SO MUCH for the suggestion, the article wasn't one i'd found while searching for troubleshooting info.
    Java script is enabled, but the persona's stuff still isn't working. dang it. WELL, one thing seems to work now, at least. thank you.
    Pax, km

  • When turning on my mac book pro it displays a screen with apple logo and begins loading a loading bar, after this continues to show loading circle however has been like this all day still no different. Tried turning it on and off however still same!

    When turning on my mac book pro it displays a screen with apple logo and begins loading a loading bar, after this continues to show loading circle however has been like this all day still no different. Tried turning it on and off however still same!

    ... then run Disk Utility, Repair Disk.
    Also:
    Resolve startup issues and perform disk maintenance with Disk ...
    Mac troubleshooting FAQ: start-up woes
    How To Fix Common Mac Startup Problems
    Mac Stalls on Gray Screen at Startup - Troubleshooting Mac Startup ...

  • Loader will load images from another server, but then we get error on Bitmap operation

    I'm developing an app that currently is using Loader to get images from another server.  This shouldn't currently work since we are still waiting for the owner of that server to put a crossdomain file in place.  However, it does work -- sort of .
    Loader can load the images fine, without an error.  But then the app has a feature in which we are making a larger duplicate of the image to display in a sidebar, we do this in this manner:
    var myBitmap:Bitmap = Bitmap(loader.content);
    and when this runs we get a Flash player security error 2122, sandbox violation.
    So while I'm hoping all this will fix itself when the crossdomain.xml file is put in place, I'm confused as to why we only get the sandbox error when we make a Bitmap from the image, and not when we initially try to retrieve the image.
    (Incidentally: is there a better way to make a "copy" of an image loaded by a Loader, and then change its width and height for simultaneous display in another part of the stage?  I don't need to change its actual dimensions -- I just need to change its display width and height.)
    Thanks!

    The sandbox allows viewing, not editing from another server without a crossdomain.
    So, when you try to load it up, it loads it, but "read-only" and gives you an error when you try to "edit" it by making a new Bitmap out of it.
    This should resolve itself once that crossdomain is in place.
    ||EDIT||
    I just realized I should clarify my statement a little more.
    When you load images from another server without a crossdomain, it allows the load for display only.  When you try to load data, it will fail.  This is because, XML data, or some other type of data is editable by default, and images are only viewable by default.  So, the image fails when you try to convert it into an editable form.

Maybe you are looking for