Show Oracle structure from Access

Hello everybody,
Based on miscellaneous sources in newsgroups, I got an Access sub to show the structure of my Oracle base, i.e. the user's tables names and the fields names, sizes and types.
That runs fine, except if I have fields of type TIMESTAMP(6), in which case the field name is blank (in fact empty string), and the field type appears identical to that of the previous field.
Would anyone be able to explain me what is my error, and how to correct it ?
This is VBA code, ran from Access 2003 :
Public Sub ListeBaseOracle()
Dim wrkODBC As Workspace
Dim OracleDB As Database
Dim Tb As TableDef
Dim s As String
' strCon for documentary purposes - not used
strCon = "Driver={Microsoft ODBC for Oracle}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _
"(ADDRESS=(PROTOCOL=TCP)" & _
"(HOST=SERVER.FR)(PORT=1521))" & _
"(CONNECT_DATA=(SID = USER))); uid=USER;pwd=USER;"
Set OracleDB = DBEngine(0).OpenDatabase("", dbDriverComplete, False, "ODBC;UID=USER;PWD=USER;DSN=WILLNOTKNOW.NET")
Set gConnection = New ADODB.Connection
gConnection.Open sConnect
MousePointer = vbDefault
rs.Open " SELECT * FROM TAB", gConnection
If rs.EOF = False Then
   Do Until rs.EOF
     'RsTable.Open " SELECT * FROM " = rs!TNAME, gConnection
     RsTable.Open "SELECT * FROM " + rs!TNAME, gConnection
     Debug.Print rs![TNAME]
     For Each F In RsTable.Fields
           Debug.Print " " + F.Name,   F.Type
     Next
     RsTable.Close
     rs.MoveNext
   Loop
Else
   MsgBox "No table accessible to user"
   gConnection.Close
   End
End If
rs.Close
gConnection.Close
End Sub
Message was edited by:
Gloops

Well, there is some news about this.
I could get the field name using openShema, but I was unable to find a documentation about openShema.
I am still searching about the field type, as I get the same value in the DATA_TYPE field for a TIMESTAMP column as for a RAW one (and the TYPE_GUID is empty).
rs.Open " SELECT * FROM TAB", gConnection
If rs.EOF = False Then
    Do Until rs.EOF
        RsTable.Open "SELECT * FROM " + rs!TNAME, gConnection
        NomTab = rs!TNAME
        Set rsC = gConnection.OpenSchema(adSchemaColumns, Array(Empty, Empty, NomTab, Empty))
        Debug.Print rs![TNAME]
        While Not rsC.EOF
            Debug.Print "", rsC!COLUMN_NAME, rsC!Description, rsC!DATA_TYPE, rsC!TYPE_GUID
            rsC.MoveNext
        Wend
        RsTable.Close
        rs.MoveNext
    Loop
Else
    MsgBox "No data"
    gConnection.Close
    End
End If
rs.Close
gConnection.Close
Message was edited by:
Gloops

Similar Messages

  • Problem calling Oracle function from Access 2007 / ADO

    Hopefully, I'm posting this in the correct forum. I'm also posting on an Access forum as I'm not entirely sure where the issue lies.
    I'm calling an Oracle function from Access 2007 using an ADO Command object.
    The function takes three input parameters and has a return value and an output parameter. The output parameter is a BLOB, and the return value is varchar2 (either "T" or "N") based on the outcome of the function.
    If I pass correct values to the function, I get the following error message (errs out on the command.execute line):
    Run-time error '-2147467259 (80004005)':
    [Oracle][ODBC][Ora]ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    Here's the function:
    FUNCTION GET_ITEMREV_ATTACH(P_ORGANIZATION_ID IN NUMBER,
    P_INVENTORY_ITEM_ID IN NUMBER,
    P_REVISION IN VARCHAR2,
    X_DRAWING OUT BLOB) RETURN VARCHAR2 IS
    RESULT VARCHAR2(1);
    BEGIN
    RESULT := 'T';
    BEGIN
    SELECT L.FILE_DATA
    INTO X_DRAWING
    FROM FND_ATTACHED_DOCUMENTS AD,
    MTL_ITEM_REVISIONS_B IR,
    FND_DOCUMENTS_TL D,
    FND_LOBS L
    WHERE AD.ENTITY_NAME = 'MTL_ITEM_REVISIONS' AND
    AD.PK1_VALUE = IR.ORGANIZATION_ID AND
    AD.PK2_VALUE = IR.INVENTORY_ITEM_ID AND
    AD.PK3_VALUE = IR.REVISION_ID AND
    AD.CATEGORY_ID = 1001216 AND
    D.DOCUMENT_ID = AD.DOCUMENT_ID AND
    D.LANGUAGE = 'US' AND
    L.FILE_ID = D.MEDIA_ID AND
    IR.ORGANIZATION_ID = P_ORGANIZATION_ID AND
    IR.INVENTORY_ITEM_ID = P_INVENTORY_ITEM_ID AND
    IR.REVISION = P_REVISION;
    EXCEPTION
    WHEN OTHERS THEN
    RESULT := 'N';
    END;
    RETURN(RESULT);
    END GET_ITEMREV_ATTACH;
    Here's the VB code I'm using to call the function:
    Private Sub Command8_Click()
    Dim CMD As New ADODB.Command
    Dim conn As ADODB.Connection
    Dim Param1 As ADODB.Parameter
    Dim Param2 As ADODB.Parameter
    Dim Param3 As ADODB.Parameter
    Dim ParamBlob As ADODB.Parameter
    Dim ParamReturn As ADODB.Parameter
    Set conn = New ADODB.Connection
    With conn
    .ConnectionString = "Driver={Oracle in OraHome92};Dbq=OAPLY;UID=***;PWD=*******"
    .CursorLocation = adUseClient
    .Open
    End With
    Set CMD = New ADODB.Command
    Set CMD.ActiveConnection = conn
    CMD.CommandText = "immi_attach_pub.get_itemrev_attach"
    CMD.CommandType = adCmdStoredProc
    Set ParamReturn = CMD.CreateParameter("RESULT", adVarChar, adParamReturnValue, 1)
    CMD.Parameters.Append ParamReturn
    Set Param1 = CMD.CreateParameter("P_ORGANIZATION_ID", adInteger, adParamInput, 1, 6)
    CMD.Parameters.Append Param1
    Set Param2 = CMD.CreateParameter("P_INVENTORY_ITEM_ID", adInteger, adParamInput, 4, 5207)
    CMD.Parameters.Append Param2
    Set Param3 = CMD.CreateParameter("P_REVISION", adVarChar, adParamInput, 2, "04")
    CMD.Parameters.Append Param3
    Set ParamBlob = CMD.CreateParameter("X_DRAWING", adLongVarBinary, adParamOutput, 200000)
    CMD.Parameters.Append ParamBlob
    CMD.Execute , , adExecuteNoRecords *** this is where the error occurs
    conn.Close
    MsgBox CMD.Parameters("RESULT")
    End Sub
    I've tried using different data types for the varchar2 parameters (adVarChar, adBSTR, adChar) with no difference.
    If I pass a bogus value for Param3...."'04'"...the function returns "N" indicating that it actually executed something. But, when I pass the correct value "04", it returns the above mentioned error.
    I can execute the function in PL/SQL just fine, so I'm thinking there's something wrong with the parameters, datatype, or other definitions on the Access side.
    Does anyone have any thoughts? I'm at a dead end with this. Sorry for the long post. Thank you.

    I tried your code with 11107 ODBC/client/database (but with a NULL output blob for convenience sake) and got no errors.
    If you're using 92 ODBC/client, you may want to try upgrading to something more current, or at least getting the latest patch(9208) to see if that helps. Since it works for me I'm guessing it may be a resolved bug in that version.
    Hope it helps,
    Greg

  • Calling oracle function from Access passthrough query does not return list

    Thanks to the help I received in an earlier post I've created an oracle 10g function that returns a list after executing the sql it contains. It works in oracle, using sql developer.
    I need to have the list that it returns show up in MS Access via a passthrough query. It's not working so far. The connection string etc is ok, I'm able to use passthrough queries to run sql strings successfully. But when I try to call the function via the Access passthrough query at first nothing seems to happen (ie no list appears) and if I try to run it again, there is a odbc error 'call in progress. Current operation canceled'. There are only the three records in the table. I'm missing something, can anyone spot it?
    The passthrough query looks like this
    select * from fn_testvalues from dual
    Again that runs in oracle.
    To create the testing table and 2 functions see below.
    CREATE TABLE t_values (MyValue varchar2(10));
    Table created
    INSERT INTO t_values (
    SELECT 'Merced' c1 FROM dual UNION ALL
    SELECT 'Pixie' FROM dual UNION ALL
    SELECT '452' FROM dual);
    3 rows inserted
    CREATE OR REPLACE FUNCTION fn_isnum(p_val VARCHAR2) RETURN NUMBER IS
    n_val NUMBER;
    BEGIN
    n_val := to_number(p_val);
    RETURN 1;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN 0;
    END;
    Function created
    testing the table:
    SELECT val, fn_isnum(MyValue ) isnum
    FROM t_values;
    VAL ISNUM
    Merced 0
    Pixie 0
    452 1
    Now the function that is called in the passthrough query:
    create or replace function fn_testvalues
    return sys_refcursor is
    rc sys_refcursor;
    begin
    open rc for
    Select t_values.*, fn_isnum(MyValue) IsNum from t_values;
    return(rc);
    end fn_testvalues;

    lecaro wrote:
    OK. But obviously there is some oracle object that one can call via an Access pass-through query which returns rows?Just to clarify. You could fetch data in Access from an Oracle function that returns a ref cursor using VBA editor. To use a pass-through query Oracle function should be a table function or pipelined table function:
    CREATE OR REPLACE
      TYPE testvalues_obj_type
        AS OBJECT(
                  val varchar2(10),
                  isnum number
    CREATE OR REPLACE
      TYPE testvalues_tbl_type
        AS TABLE OF testvalues_obj_type
    CREATE OR REPLACE
      FUNCTION fn_testvalues
        RETURN testvalues_tbl_type
        PIPELINED
        IS
            CURSOR testvalues_cur
              IS
                SELECT  testvalues_obj_type(MyValue,fn_isnum(MyValue)) testvalues_obj
                  FROM  t_values;
        BEGIN
            FOR v_rec IN testvalues_cur LOOP
              PIPE ROW(v_rec.testvalues_obj);
            END LOOP;
            RETURN;
    END;
    /To test it in Oracle:
    SELECT  *
      FROM  TABLE(fn_testvalues)
    VAL             ISNUM
    Merced              0
    Pixie               0
    452                 1
    SQL> Now in Access pass-trough query window enter:
    SELECT  *
      FROM  TABLE(fn_testvalues);SY.

  • Calling oracle function from access

    does anyone know if it s possible to call a oracle pl/sql function from access ?
    thx in advance
    Andre

    As long as you do not need a return value from the procedure, you can call it from Access.
    Create a QueryDef object as a sql pass through query. Make sure that you set the ReturnsRecords property of the QueryDef to false. Set the SQL property of the QueryDef to the correct syntax to execute your procedure, then call the Execute method of the QueryDef object.

  • Error establishing ODBC connection to Oracle database from Access 2007

    I am trying to access via linked tables from Access 2007 my ODBC connections.
    I am able to setup and test successfully in the ODBC Data Source Administrator my Data source, and Driver(Oracle in OraHome92), and I used this successfully when I had Access 2003 on this PC.
    system details: Oracle 9i, MS Access 2007 on Windows XP
    error - call failed:
    detailed error from sqlnet.log:
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleORCL)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORCL)(CID=(PROGRAM=C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE)(HOST=USRN4WNCNH6DDQG)(USER=fznp29))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 05-DEC-2008 11:38:05
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 126
    nt OS err code: 0
    Any ideas?

    Hi,
    Please can you specify how you create your DSN for Oracle connection in ODBC Data Source Administrator?
    What did you specify for the TNS Service Name?
    What is the content of your TNSNAMES.ORA file?
    Thx
    Mireille

  • How to  access the ORACLE APPS table structures from SAP

    Hi Experts,
        How to  access the ORACLE APPS table structures from SAP? Is it possible from SAP?
    Thanks in advance
    Thomas

    Hi Silviya,
    you can access this database using a technique called DB Multiconnect - sometimes written as multi-connect.
    Search the SAP documentation and notes for this term and you will find how to do it.
    Essentially you configure the remote database connection via transaction DBCON.
    If your SAP system is not running on Oracle you will need to install the db-specific kernel files for Oracle along with the Oracel db client software - SQL*Net.
    Then you can access the Oracle database from ABAP using native-SQL. It works a treat!
    Cheers
    Graham Robbo

  • Upload data from Access Database to Oracle Database In oracle 8i

    hi everybody
    i am trying upload data from Access database to Oracle Database
    i have TT(F1,F2,F3) table in Access Databsse
    and emp(ename,ecode,sal) in oracle Database
    db_ac is my datasource name
    when i connect to Access Database thru this command this show following error
    SQL> connect a/a@odbc:db_ac;
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected.
    when i am trying copy data as this command it show error and data not copied.
    SQL> COPY FROM A/A@ODBC:DB_AC TO test/test@ora INSERT EMP USING SELECT F1,F2,F3 FROM TT;
    Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    ORA-00022: invalid session id; access denied
    ERROR:
    OCA-00022: general OCA error
    can help me .
    with thanx

    Hi there,<br>
    <br>
    Please kindly use instead the Database Forum at:-<br>
    General Database Discussions<br>
    <br>
    ... to place your question as this is for the Oracle Portal product Export / Import functionality.<br>
    <br>
    <br>
    Kind regards,<br>
    Pedro.

  • Migration Error from Access to Oracle through SQL Developer.

    Hi,
    Actually I am trying to migrate data from MS Access 2002 to Oracle 9i database through the SQL Developer. But Whenever I go to Capture Database from Access it will show me an error.... Invalid procedure Call and then it shows an error message... >>>>>>
    ShowSplashScreen("_OracleSplashScreen",3)
    after that i wont be able to do this task anymore..... So please help me get out of it... How Cam I Maigrate data from Access to Oracle 9i...
    Is any other tool i use or you can help me for this tool to migrate date...
    Please tell me..
    If yu can send me a mail then mail me on [email protected]
    regards,
    Vishal

    Hi Vishal,
    I have responded to your related thread on the Migration Workbench forum - Migration Error from Access to Oracle through SQL Developer.
    Regards,
    Hilary

  • Accessing Array of Structures from Coldfusion

    I am having a problem accessing an array of structures from
    Coldfusion within my flex application. Here is how I make my Array:
    (GetRegions is a type Query and Type is a string variable)
    <cfset ReturnArray = ArrayNew(1)>
    <cfset ReturnArray[1] = StructNew()>
    <cfset ReturnArray[1].Query = GetRegions>
    <cfset ReturnArray[2] = Type>
    Within flex I am trying to access the results in the
    following way:
    private function dataHandler(event:ResultEvent):void{
    Query_Filter = new ArrayCollection(event.result[0].QUERY as
    Array);
    myString = event.result[1] as String;
    Can anybody help me with this. I want a way to return a query
    and a string back from coldfusion.
    Thanks for the help,
    Jeff

    So now I changed my code to the following in CF:
    <cfset Type = "MyString">
    <cfset ReturnArray = ArrayNew(1)>
    <cfset ReturnArray[1] = StructNew()>
    <!--- set up query GetRegions --->
    <cfset ReturnArray[1] = GetRegions>
    <cfset ReturnArray[2] = Type>
    <!--- Return Array --->
    <cfreturn ReturnArray>
    Now in flex I have the following dataHandler Function:
    Alert.show("hello: "+ObjectUtil.toString(event.result[0]));
    Query_Filter = new ArrayCollection(event.result as Array);
    Now I set up a List box with Query_Filter as the dataprovider
    but the results aren't showing correctly. The first item in the
    list box is displayed as [object, Object], [object, Object] and the
    second item is my String.
    Does anybody know how to break up the query to a variable and
    the string to its own variable in the dataHandler function.
    Thanks for any and all help

  • Migrating from Access to Oracle

    Hello......
    I am trying to migrate a table from Access to Oracle. It contains approx 850,000 rows, and I tried using SQL Server's DTS Import/Export tool to perform the migration. However, this export/import has been running for almost 48 hours (crazy, huh?!), and I'm only at 350,000 records loaded. This tool is obviously not sufficient for a migration of this size.
    Can anyone suggest a better way for me to go about this?
    Thanks,
    -Christine

    Hi,
    If you have DDL structures in Oracle, then you can save the access data as .csv file format. you using any opensource tool you can migrate it.
    Or you can go for sql loader also.
    Cheers,
    Moorthy.GS

  • Error in Transformation from Access to Oracle

    I am getting following error while fetching data from Access in Load data.
    java.lang.ClassCastException: java.lang.Integer cannot be cast to [B
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7839)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7555)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8028)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:238)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java:2027)
         at com.sunopsis.sql.SnpsQuery.addBatch(SnpsQuery.java:122)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3034)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:729)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    Unable to understand Error.
    What this error is about and whoat would i have to Do to remove it ?
    Details:-
    LKM:- SQL to Oracle (Only this is refered in this step)
    IKM:- IKM SQL Incremet Update .(It would not be refered in this step)
    Edited by: MaheshGx on Jan 9, 2012 6:24 PM

    Posting Code:-
    Source Code:-
    select     
         MTP_CONVERSION."MTP#"     as C9_MTP_,
         MTP_CONVERSION."MTP#"     as C14_MTP_,
         MTP_CONVERSION."MTP#"     as C37_MTP_,
         MTP_CONVERSION."MTP#"     as C38_MTP_,
         TABLE_BCAT_SALES."Budg_Cat_Sales"     as C2_BUDG_CAT_SALES,
         TABLE_PATTERN."Pattern"     as C7_PATTERN,
         TABLE_BCAT_SALES."Budg_Cat_Sales"     as C11_BUDG_CAT_SALES,
         TABLE_SIZE."Size_Designation"     as C24_SIZE_DESIGNATION,
         TABLE_INFL_TYPE."Infl_Type_Abr"     as C26_INFL_TYPE_ABR,
         WARRANTY."MTP_Warr"     as C27_MTP_WARR,
         TABLE_CUSTOMER."Customer"     as C30_CUSTOMER,
         MTP_CONVERSION."Year"     as C31_YEAR,
         VEHICLE."Vehicle"     as C34_VEHICLE,
         MTP_CONVERSION.IPC     as C6_IPC,
         MTP_CONVERSION.IPC     as C8_IPC,
         TABLE_BCAT_SALES."Budg_Group_Sales"     as C12_BUDG_GROUP_SALES,
         TABLE_BCAT."Brand"     as C25_BRAND,
         TABLE_LOAD_CAT.PR     as C29_PR,
         MTP_CONVERSION.IPC     as C36_IPC,
         MTP_CONVERSION.IPC     as C41_IPC,
         MTP_CONVERSION.BPC     as C5_BPC,
         TABLE_SIZE."Width"     as C18_WIDTH,
         TABLE_SIZE."Width"     as C19_WIDTH,
         TABLE_SIZE."Width"     as C32_WIDTH,
         MTP_CONVERSION."LineUp_Ind"     as C1_LINEUP_IND,
         TABLE_SIZE."Series"     as C16_SERIES,
         TABLE_SIZE."Series"     as C17_SERIES,
         TABLE_CUSTOMER.OE     as C23_OE,
         TABLE_SIZE."Series"     as C33_SERIES,
         MTP_LINEUP."Load_Single"     as C13_LOAD_SINGLE,
         TABLE_SIZE."Rim"     as C28_RIM,
         MTP_CONVERSION."Product_Description"     as C10_PRODUCT_DESCRIPTION,
         MTP_LINEUP."Load_Dual"     as C15_LOAD_DUAL,
         MTP_CONVERSION."Product_Description"     as C20_PRODUCT_DESCRIPTION,
         MTP_LINEUP."Speed"     as C3_SPEED,
         TABLE_PATTERN."Winter"     as C21_WINTER
    from     ."MTP_Conversion" as MTP_CONVERSION, ."MTP_LineUp" as MTP_LINEUP, ."Vehicle" as VEHICLE, ."Warranty" as WARRANTY, ."Table_Pattern" as TABLE_PATTERN, ."Table_BCAT_Sales" as TABLE_BCAT_SALES, ."Table_Customer" as TABLE_CUSTOMER, ."Table_BCAT" as TABLE_BCAT, ."Table_Size" as TABLE_SIZE, ."Table_Infl_Type" as TABLE_INFL_TYPE, ."Table_Load_Cat" as TABLE_LOAD_CAT
    where     (1=1)
    And (MTP_LINEUP."Infl_Type_Code"=TABLE_INFL_TYPE."Infl_Type_Code")
    AND (MTP_LINEUP."Customer_Code"=TABLE_CUSTOMER."Customer_Code")
    AND (MTP_LINEUP."BCATS_Code"=TABLE_BCAT_SALES."BCATS_code")
    AND (MTP_CONVERSION."MTP#"=WARRANTY."MTP#")
    AND (MTP_LINEUP."Pattern_Code"=TABLE_PATTERN."Pattern_Code")
    AND (MTP_LINEUP."Load_Cat_Code"=TABLE_LOAD_CAT."Load_Cat_Code")
    AND (MTP_LINEUP."BCAT_Code"=TABLE_BCAT."BCAT_code")
    AND (MTP_CONVERSION."MTP#"=MTP_LINEUP."MTP#")
    AND (MTP_CONVERSION."MTP#"=VEHICLE."MTP#")
    AND (MTP_LINEUP."Size_Code"=TABLE_SIZE."Size_Code")
    Target Code:-
    insert into OMPODI.C$_0NEWBSMASTERTYRE
         C9_MTP_,
         C14_MTP_,
         C37_MTP_,
         C38_MTP_,
         C2_BUDG_CAT_SALES,
         C7_PATTERN,
         C11_BUDG_CAT_SALES,
         C24_SIZE_DESIGNATION,
         C26_INFL_TYPE_ABR,
         C27_MTP_WARR,
         C30_CUSTOMER,
         C31_YEAR,
         C34_VEHICLE,
         C6_IPC,
         C8_IPC,
         C12_BUDG_GROUP_SALES,
         C25_BRAND,
         C29_PR,
         C36_IPC,
         C41_IPC,
         C5_BPC,
         C18_WIDTH,
         C19_WIDTH,
         C32_WIDTH,
         C1_LINEUP_IND,
         C16_SERIES,
         C17_SERIES,
         C23_OE,
         C33_SERIES,
         C13_LOAD_SINGLE,
         C28_RIM,
         C10_PRODUCT_DESCRIPTION,
         C15_LOAD_DUAL,
         C20_PRODUCT_DESCRIPTION,
         C3_SPEED,
         C21_WINTER
    values
         :C9_MTP_,
         :C14_MTP_,
         :C37_MTP_,
         :C38_MTP_,
         :C2_BUDG_CAT_SALES,
         :C7_PATTERN,
         :C11_BUDG_CAT_SALES,
         :C24_SIZE_DESIGNATION,
         :C26_INFL_TYPE_ABR,
         :C27_MTP_WARR,
         :C30_CUSTOMER,
         :C31_YEAR,
         :C34_VEHICLE,
         :C6_IPC,
         :C8_IPC,
         :C12_BUDG_GROUP_SALES,
         :C25_BRAND,
         :C29_PR,
         :C36_IPC,
         :C41_IPC,
         :C5_BPC,
         :C18_WIDTH,
         :C19_WIDTH,
         :C32_WIDTH,
         :C1_LINEUP_IND,
         :C16_SERIES,
         :C17_SERIES,
         :C23_OE,
         :C33_SERIES,
         :C13_LOAD_SINGLE,
         :C28_RIM,
         :C10_PRODUCT_DESCRIPTION,
         :C15_LOAD_DUAL,
         :C20_PRODUCT_DESCRIPTION,
         :C3_SPEED,
         :C21_WINTER
    )

  • Put movies in itunes on one computer why does it not show up when i access itunes from other computers or ipad2?

    put movies in itunes on one computer why does it not show up when i access itunes from other computers or ipad2?

    i just purchased a file that had videos in it. i put them in the itunes library on my pc where i first downloaded them. i was able to transfer them to my other pc, a laptop, through my home network. i am now trying to get them on my mac pro desktop and my ipad2. my mac pro can see the other computers on my home network but i cannot get it to connect to them. i know the operating systems are different but was hoping i could transfer pictures and files from pc to mac this way. haven't been able to get it to work yet. the videos i am trying to get my mac to see came in a folder with both mac and pc versions. i thought if i got the videos i purchased into itunes that i would then be able to get them to my mac pro and my ipad2. i am new to mac/apple and have always been pc-centric so trying to marry it all has been difficult. i speak pc pretty well but am just learning apple. am i trying to do things that are not possible? i sure could use a knowledgable friendly soul to walk me through my issues of having pc and mac on the same network. i have been able to get all computers and ipad to print on my network. thanks.

  • Cannot load Java plug-in and access R12 Oracle form from client

    Hi, one of my user cannot open Oracle form when accessing R12 environment using IE6. After selecting responsibility and menu, it got stuck after 50% processing when trying to load Java applet. It never got completed even after waiting for 2-3 hours.
    Is there any browser setting that needs to be modified? I checked popup blocker and activeX setting. All seem to be in order. Kindly assist. Thanks.

    Hi,
    What is the difference between this client and other clients?
    Delete the browser cache/history files and check then. If this does not help, enable trace for JRE (as per Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)) and see if it shows any errors when you encounter this issue.
    Regards,
    Hussein

  • Import/Export from Access MDB to Oracle DB

    Dear Friends,
    I need to import a huge table from access to Oracle. I tried to export the file from MS Access to Oracle, it is giving error. I tried another way of doing , i first exported the data to SQL server and then using Export/Import utility of SQL Server, it has imported succesfully. I am not sure which is the best way to import data from ACCESS to Oracle.
    Kindly suggest,
    Regards,
    Vinay

    Another approach you might try goes something like this:
    1. In Access, link the destination Oracle table (for example, via File, Get External Data, Link Tables...).
    2. In Access, create an Append Query to select rows from your Access table and insert them in to the linked Oracle table.

  • Connecting from Oracle to MS Access

    Hi,
    I've had a good search through the various topics on establishing a connection between Oracle and MS Access and have found that most center around Access initiating the connection (linked tables and the like).
    What I'd like to do is initiate the connection from Oracle.
    Some background:
    we are running Oracle 9.2.0.2 on an HP/UX 11 OS, and have a series of MS Access 2000 Databases that have identical schemas, but with totally different data content and different names (naming convention is datestamp of when Db was created).
    I would like to initiate a connection from within oracle to 'pull' the data from the Access DB's, and append the respective tables together into one lager table in oracle.
    Is there any way of doing this? Are there connection drivers that will allow oracle to create an ODBC connection to Access? and if so what must be loaded/configured within oracle on the Unix box to achieve this in an automated fashion?
    Any help most appreciated.
    Cheers,
    James

    You can do this sort of thing if you install Oracle Heterogenous Services. That lets you create a database link from an Oracle database to a non-Oracle database and issue SQL statements against the data in the non-Oracle database.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

Maybe you are looking for

  • Payment via APP

    Hi Experts: I am doing test in testing server and facing an issue in running F110. My issue is there are 15 invoices for a vendor , when system posts payment for them it makes single payment for them. This is wrong because we have to assign checks in

  • How to use a KVM switch with my IMAC

    Have a new IMAC and wanting to use my KVM switch - is there a way to use it? Thanks,

  • File compare

    Hello, How can I turn off file compare, it is not something I remembered turning on, Now when I connect to a site and try and open a page I am always asked do I want to compare the uploaded page to the page on my local. regards k

  • Can you upgrade from Os x 10.4 to 10.5 or higher?

    Can you upgrade from Os x 10.4 to 10.5 or higher?

  • Installing issue on RHES4

    Hi netters, I've been trying to install a GC Release 2 over a Red Hat 4 without bad results. I've passed all the prerequisites (except for the packages one, i think there's a mislead on some package names names, so i marked "user verified"). Well, wh