Loading data from DB.

Hello!
I have the database with 5 tables empty and cca 420 csv files.

TABLES looks like
Table1 (vtime, id1, id2, id3 70..)
Table2 (vtime, 71, id72, id73... id140)
VTIME value is in each table from 1 to 22 368 145

CSV resembles
CSV1 (vtime, id, x, value) [vtime is for example 1 to 53250]
CSV420 (id, x, vtime, value) [vtime is for example 22 314 895 to 22 368 145]
There are all the IDS of each CSV file


What is the fastest way and to load data from csv to table?
I wanted to use sql loader, but I can't specify something like -
+ load data from csv files 420 all and value at position 2 is (1-70) [71-140] {...}, load his value (position 3) (table 1) [table 2] {...}, rowing where vtime in the table is the same as for value(position 1) vtime + *.

Can you help me with this please? Thank you!

What is the fastest way and to load data from csv to table?

Use an external table.
In this way, you can do Oracle treat your files as if they were tables.
You will have many more opportunities in this way.

http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:6611962171229
http://www.Oracle-base.com/articles/9i/SQLNewFeatures9i.php#ExternalTables
http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:2754967100346565998

Tags: Database

Similar Questions

  • Loading data from Microsoft Dynamics AX via FDM

    Hello world

    I was wondering if anyone was using FDM to load data from Microsoft Dynamics AX into HFM via FDM, and how this was done. We are currently on version 11.1.2.2.0, thanks for any idea.

    The easiest way would be to get the MS Dynamics team to provide a flat file extracts the required data and then use FDM to import in HFM. There is not out of the box adapters to interface directly with MS Dynamics, but another option would be to build an integration script to interface directly with the data in the relevant MS Dynamics via FDM tables but it would be more involved and require a knowledge of the underlying database MS Dynamics, FDM scripting, dry and would be much more difficult to maintain for the average user.

  • Loading data from SQL to Essbase table

    Hello

    I'm loading data from SQL to Essbase table by using a rules file. Number of rows in the source table is 7 million. I use the SUNOPSIS MEMORY ENGINE as area transit, LKM SQL for SQL and SQL IKM for Hyperion Essbase (DATA).

    Question:

    1 can I not use any other LKM as MSSQL for MSSQL (PCBS) to load data to the staging instead of LKM SQL for SQL? What I have to change the transit area then? Loading data using LKM SQL for SQL seems quite slow.

    2 it is mandatory to use LKM SQL for SQL, can someone please tell me what I can change to make this quick support parameters?

    3. is it compulsory to use the SUNOPSIS MEMORY engine loading data from SQL server to Essbase?

    Thank you...

    (1) Yes, I highly recommend watching using a KM which uses native as database technology these will usually be more efficient than the generic (like LKM SQL for SQL) KM especially when large volumes of data are involved. Your staging will change depends on where you organize data for example if you are using a SQL server specific KM as - MSSQL for MSSQL (PCBS) - you must have a lay-by available on a MSSQL database and have access to the utility of PCBS.

    (2) it is not mandatory to use this KM you can use a KMs supported by your database technology

    (3) it is absolutely not obligatory to use the SUNOPSIS MEMORY engine. This should only be used when you have relatively small amounts of data, as well as all the processes in memory, or in the case where you have no other relational technology to perform the staging on. However, in your case to use wherever you are processesing these large volumes of data you should be staged on a physical such as SQL Server or Oracle database if they are available.

  • Error loading data from Oracle 10 g to Excel

    Hello gurus,

    I get the error when loading data from the Oracle 10 g database table to Excel.
    I use SQL TO ADD SQL IKM.
    Staging area is different from the target and I use the same pattern sense to source and put in scene.
    Please help me...

    Error is

    0: S1000: sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.
    sun.jdbc.odbc.JdbcOdbcBatchUpdateException: [Microsoft] [ODBC Excel Driver] operation must use an update query.

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate (unknown Source)

    at sun.jdbc.odbc.JdbcOdbcStatement.executeBatch (unknown Source)

    at com.sunopsis.sql.SnpsQuery.executeBatch (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.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.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)


    Kindly help me...

    Thanks in advance.

    Samuel

    Hello

    When you created the DSN for the spreed excel worksheet you dot not uncheck the read-only box.
    Make sure that the read-only checkbox is not checked, otherwise you will get an error message when trying to insert data into the Excel worksheet (error: "[Microsoft] [ODBC Excel Driver] operation must use an update query.").

    Thank you
    Fati

  • How to load data from ms sql to the by the file rules and maxl essbase

    Hi, everybody!
    Pretty Shure the kind of topic exists already on the forum, but unfortunately can't find it.

    I want to understand, how to load data from the database to ms sql for the PB of essbase application.

    (I) so I have:
    1. a request for 'society '.
    2 and its database 'Plan '.
    3. with simple outline, which contains only two dimensions:

    -The time period < 1 > (Label only)
    -Total year (~)
    -Qtr1 (+)
    Jan (+)
    Feb (+)
    Mar (+)
    -Qtr2 (+)
    APR (+)
    May (+)
    Jun (+)

    -Accounts < 1 > (Label only)
    -Lost / based (~) (Label only)
    -Revenues (+)
    L1.1 (+)
    L1.2 (+)
    -Costs (-)
    L2.1 (+)
    L2.2 (+)

    (II) also, I created a rules file called "CO_DWH" and associated with this schema
    It (Rules file) a 3 columns:
    Data of the 'period', 'account '.

    There is also the option checked "load data".

    (III) in MS SQL Server, I have a database of "hypdb" and "essadmin" with "password" login

    (IV) I executed my bat file:
    C:\Hyperion\EssLoad.bat
    There is only one line:

    EssLoad.bat-
    startMaxl.cmd EssLoad.txt
    ----------------------------------------------

    EssLoad.txt-
    login password admin on erpserver;
    Import database data Company.Plan connect in essadmin password using the server rules_file 'CO_DWH' error abort;
    disconnection;
    "exit";
    --------------------------------------------


    All plans that I copied well worked ERP system, but I don't understand, this is exactly table in the MS SQL database, data loading to essbase db?

    TOU have to do a few things
    1. on the server of Essbase, put in place a system odbc for your MySQL database connection
    2. in the State of charge, go to the file menu and select open source SQL database and in the source of data in your SQL statement. A few tips. Where it says select, don't put in the select Word and when he says to not put in of. The system adds for you. TI enter a simple SQL statement is to do this in the box so select if your SQL would be normanlly as select * from myTable just enter the code as * from myTable in the upscale neighborhood

    The ol/recover the click and fill your connection information. Should bring back the data in the State of charge. Save the State of charge and use

  • Loading data from the planning application sample

    Hello

    I created an example of planning application in the workspace (V 11.1.1.3). By default, they dimension 'Year' the year of departure as FY11. Whereas, loading data from file 'SampleApp_data.txt' that comes with the installation is the year of departure as FY09. Then, when I insert data in environmental assessment (form free loading), there is an error that the FY09 member is not present. Does anyone know how can I approach properly load the sample data? I tried to replace by FY11 by FY12 FY10 FY09 and so forth in Notepad, but the process still hang on the first attempt.

    Thanks in advance,
    Aerts

    The easiest way is not sample application tick the options and change the calendar 2008 or 2009, go to the finsh tab, then return to the first screen and sample application tick, then finished, it will create with the year of departure.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to load data from workflow

    How to load data from workflow (POAPPRV.wft, QAPPRV.wft)

    11i apps

    Hello

    Use WFLOAD to load the workflow data I.

    WFLOAD apps / 0 Y FORCE xxxx.wft
    WFLOAD apps / 0 Y FORCE xxxx.wft

  • SOS! -Error to load data from Oracle 11 g to Essbase using ODI

    Hi all.

    I want to load data from oracle database to essbase using ODI.
    I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
    The problem is.
    1. when I try see data right click on the table of essbase.
    va.sql.SQLException: driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
    at com.sunopsis.graphical.frame.bo.bA (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
    2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 61, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]

    at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx1.f$ 0 (< string >: 61)

    to org.python.pycode._pyx1.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)



    I am very confused by it. Someone give me a solution or other docs.

    Ethan.

    Hello

    You say that you are loading, but you chose the KM for the loading of metadata?
    If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Cannot load data from floppy E or F drive on HP Desktop

    Help, please!  I have a HP Desktop running Windows 7 Ultra.  When I Start Menu---> computer, a green band appears at the top of the screen.  It takes at least five 5 minutes for Ribbon going green all the way through the 'x' on the right side.  So, sometimes (but not always) the computer configuration icons appear.  If I loaded a CD into drive E or F, this player icon on the screen, too.  Then, when I right click and select Properties, the size of the files on the CD appear.  But, if I have 'open' the CD, or abandon the min-menu left click on E, the Green band drive icon reappears at the top of the screen.  After ten 10 minutes and just before the Green band as the spread across the screen the 'x' on the right, he's suspended.  Nothing happens then, except for the impulse of the Green band which never reached the end of the Ribbon.  At this point, I have to drop out of the endless loop and start all over again.  And once again.  And then... you get the picture.  Either way, it is immaterial that I put the disc in the drive E or F, same problems.  Similarly, it makes any type of CD I install on the drive.  I tried all permutations of CD + / and DVD +/-in the readers or the other and both, in the order and at the same time.  No go.  Any help would be more/popular

    Hello

    To help you better, please answer these questions.

    1 when was the last time it was working fine?

    2. what happens when you try to load the data from the floppy E or F drive?

    I suggest you follow the provided methods to solve the problem.

    Method 1: Open the resolution of Performance problems

    http://Windows.Microsoft.com/en-in/Windows7/open-the-performance-Troubleshooter

    Method 2: Optimize Windows 7 for better performance

    http://Windows.Microsoft.com/en-in/Windows7/optimize-Windows-7-for-better-performance

    Method 3: Check the clean boot.

    Perform a clean boot to determine if any 3rd party service is causing the issue:

    http://support.Microsoft.com/kb/929135

    Note: After you perform troubleshooting steps to clean boot, follow the steps in the link to start the computer to Normal startup mode.

    As you mentioned the Windows crashes, I suggest you follow the method provided

    Method 4: Windows hangs or freezes

    http://support.Microsoft.com/kb/2681286

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    If you need help with the Windows operating system, just tell me and we will be happy to help you.

  • Loading data from table to file odi.

    I need to load the data from the table to file without using the interface in odi.  How to do it.

    Hello

    using tool OdiSqlUnload, it loads the table directly.

    I tried the db oracle table to the file without using interfaces. I used with procedures.

    to achieve this, must create the procedure in odi. Select the control on the target technology: oditool.

    «OdiSqlUnload "-FILE = data procedure.txt D:\TEXT\Test" "-DRIVER = oracle.jdbc.OracleDriver" «-URL=jdbc:oracle:thin:@192.0.0.0:1521:odiuser ' '-USER = odiuser ""-PASS = hpfHiT7Ql0Hd79KUseSWYAVIA ""-FILE_FORMAT = VARIABLE ""-FIELD_SEP =, ""-ROW_SEP = \r\n ""-DATE_FORMAT = YYYY/MM/DD hh: mm: ""-CHARSET_ENCODING = ISO8859_1 "" "-XML_CHARSET_ENCODING = ISO-8859-1"»

    Select * from odiuser. DWT_SECTOR.

    I think this will help for you.

    Thnaks in advance,

    A.Kavya.

  • Loading data from the table of operating system

    Hi all;

    MY DB vsersion is 10.2.0.5.0 in LINUX

    I have the .sql file in path X11R6.

    I am trying to load data by running the script load.sql , but I get the error message.

    > > CONTENT

    $ cat vi.sample_tab.sql

    create table tab1 (identification number,

    name varchar2 (15).

    Qual varchar2 (15).

    City varchar2 (15).

    Mobile number);

    $ vi load.sql;

    Start

    because me 1.100000 loop

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    commit;

    end loop;

    end;

    /

    SQL > @sample.sql;

    Table created.

    SQL > @load.sql;

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    *

    ERROR at line 3:

    ORA-06550: line 3, column 19:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 3, column 1:

    PL/SQL: SQL statement ignored

    SQL > select * from tab;

    TNOM TABTYPE CLUSTERID

    ------------------------------ ------- ----------

    TABLE TAB1

    SQL > tab1 desc;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    ID                                                 NUMBER

    NAME VARCHAR2 (15)

    QUAL VARCHAR2 (15)

    CITY VARCHAR2 (15)

    MOBILE PHONE NUMBER


    Thanks in advance.

    Hello

    GTS (DBA) wrote:

    Hi all;

    MY DB vsersion is 10.2.0.5.0

    I have the .sql file in path X11R6.

    I am trying to load data by running the script load.sql , but I get the error message.

    > CONTENT

    $ cat vi.sample_tab.sql

    create table tab1 (identification number,

    name varchar2 (15).

    Qual varchar2 (15).

    City varchar2 (15).

    Mobile number);

    ...

    Well, which creates a table called TAB1.  The last character of the name of the table is the numeral "1".

    $ vi load.sql;

    Start

    because me 1.100000 loop

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    commit;

    end loop;

    end;

    /

    SQL > @sample.sql;

    Table created.

    SQL > @load.sql;

    insert into table values (i,'* ',' MS ',' *', 1234554321);

    *

    ERROR at line 3:

    ORA-06550: line 3, column 19:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 3, column 1:

    PL/SQL: SQL statement ignored

    Refers to another table.  The last character of the name of this table is the letter 'L '.

    SQL > tab1 desc;

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    ID                                                 NUMBER

    NAME VARCHAR2 (15)

    QUAL VARCHAR2 (15)

    CITY VARCHAR2 (15)

    MOBILE PHONE NUMBER

    This is the table that you created (its name ends with the digit "1"), not that used in the INSERT statement (its name ends with the letter "L").

  • Failed to load data from the staging area using the map of ERP SAP ABAP

    Hello

    I am new to ODI and some challenges. ODI 11g (11.1.1.6.0) I want to move data from a SAP EHP6 system to a warehouse of the oracle. I got the table that I need, using the SAP reverse engineering metadata browser. I then created the interface and on executing this operation fails on task/Session 13 - Loding - Srcset0 - load data into a staging. I use a shared directory. I put FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. I get the error message is

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    to oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    to com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    to oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    to oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    to java.lang.Thread.run(Thread.java:744)
    Caused by: Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.python.core.PyException.doRaise(PyException.java:219)
    to org.python.core.Py.makeException(Py.java:1166)
    to org.python.core.Py.makeException(Py.java:1170)
    to org.python.pycode._pyx0.f$ 0 (< string >: 50)

    to org.python.pycode._pyx0.call_function (< string >)
    to org.python.core.PyTableCode.call(PyTableCode.java:165)
    to org.python.core.PyCode.call(PyCode.java:18)
    to org.python.core.Py.runCode(Py.java:1204)
    to org.python.core.Py.exec(Py.java:1248)
    to org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         ... 19 more


    I checked the log file and it contains the following


    $ ZODI_13001_11001_GLOBAL.log more

    SQL * Loader: release 11.2.0.4.0 - Production on Thu Mar 27 11:19:17 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    SQL * Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    I checked my tnsnames.ora and it seems to be OK


    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    XXXXXX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = xxxxxx)
    (SID = xxxxxx)
    (GLOBAL_NAME = xxxxxx)
    )
    )


    Here's my listener.ora


    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx) (PORT = 1521))
    )
    )
    ADR_BASE_LISTENER = / u01/app/oracle



    What could be the problem?

    Concerning

    Thanks a lot for your help. The problem is that I had put in the incorrect name of the instance.

  • onchange event trigger to load data from Server

    I have following code to filter my second list from my list.

    It works when the user click on the drop down menu, since the event onchange trigger.

    I tried to load the data from the stored procedure, then the onchange event does not trigger when the user must update the data, and then see the entire list without filtering.

    I would like to know if it is possible to the onchange event of tripping when I insert data from a stored procedure,

    Your information and help is much appreciated,

    Kind regards

    Iccsi,

    < td > < select name = "Mylst" id = "Mylst" >

    < cfoutput query = "PSP" >

    < option value = "" #MySP.MyID # ""

    < cfif (isDefined "(form. MyID") AND form. MyID EQ MySP.MyID) > selected = "selected" < / cfif > > #MySP.MyName # < / option >

    < / cfoutput >

    < / select > < table >

    $("#Mylst").change (function)

    {$.ajax({)}

    type: 'GET ',.

    URL: ' Mycfc.cfc? method = GetMethod & MyParam ='+ jQuery("#MyPrelsty").val (),.

    data type: 'json ',.

    cache: false,

    success: function (data)

    {

    $('_#MySublst_option').remove ();

    $(données, fonction (i, obj) .each)

    {

    $("#MySublst").append (' < option value =' + ' "' + data [i] [0] + '"' +' > ' + data [i] [1] +)

    ("< / option >")

    });

    }

    });

    iccsi wrote:

    I would like to know if it is possible to the onchange event of tripping when I insert data from a stored procedure,

    Yes, it is of course possible. The environment in which the event takes place - the browser - is independent of the environment in which the data is loaded by the stored procedure - the ColdFusion server.

    Any problem that you are experiencing are probably those of JQuery. A similar question was answered Stackoverflow.

  • Load data from an intermediate table into a real table by using the value of the indicator

    I need a code quick and dirty pl/sql to read the intermediate table ' STG_TABLE, line by line and load data into a PROD_TABLE.» The load should fail altogether, is a restoration should occur when he there an error occurs during registration to insert into a table of production using a flag value of Y as outcome and N as a failure.
    Any suggestions?

    Hello

    It seems that if you want something like:

    BEGIN
        :ok_flag := 'N';
        INSERT INTO  prod_table (col1, col2, ...)
         SELECT               col1, col2, ...
         FROM     stg_table;
        :ok_flag := 'Y';
    END;
    

    RESTORATION is done automatically in case of error.

    Instead of a link to ok_flag variable, you can use another type of variable that is defined outside the scope of this PL/SQL code.

    Published by: Frank Kulash, June 5, 2012 22:47

  • Cannot find the file error when loading data from text file to Oracle

    Hello

    I have an interface where I am loading a data from the text file to Oracle.
    But when I try to do that I am getting following error.

    ODI-1227: SrcSet0 (load) task fails on the source FILES SAPMM connections.
    Caused by: java.sql.SQLException: file not found: d:/mdb/#General.get_filename
    to com.sunopsis.jdbc.driver.file.FileResultSet. < init > (FileResultSet.java:160)
    at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
    at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)

    SAPMM is the name of the connection.
    I use get_filename to get the name of the file and it is fetching a correct value as long as this variable is updated in the previous stage of this interface.
    KM, used for loading is SQL file

    What would be the cause of this error?

    Thank you
    Mahesh

    Also a single query would be ok if I'm moving only generated package (according to your scenario3) scenario and not UI? It running properly?

    Yes... It runs successfully

Maybe you are looking for