Sql loader at run time

hi i want to load file to oracle databse using java .But at run time i want to make some changes like removiing duplicates and null values.please can body tell me how to use sql loader at run time. Thanks in advace .

user11357554 wrote:
hi i want to load file to oracle databse using java .But at run time i want to make some changes like removiing duplicates and null values.please can body tell me how to use sql loader at run time. Thanks in advace .Your requirements make very little sense. How do you propose to "load file to oracle databse using java" ? What does that mean ?
Pl post details of your OS and database versions, along with your requirements, in simple English.
Srini

Similar Messages

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • Imported Jar file not loaded at run time ORA-105100

    Oracle 9iDS forms Version 9.0.2.9.0
    Oracle 9iAS Release 2
    I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
    Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
    Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
    Thanks in advance for any assistance that is offered.

    Hey people any clues?

  • Itunes failed loading C run time library

    I downloaded and installed the latest Itunes update last night. The download failed because it daid that i was missing a driver. I located and installed the driver. Now I'm getting a Itunes attempted to load C++ run time library incorrectly? What can I do to fix this?

    I haven't tried it yet but just saw this and I'm going to try it next time I'm on that computer:
    turingtest2 London, UK 
    This helped meTS1275 Re: Itunes update failed to install and now Itunes  won't run     Jan 23, 2014 1:31 PM    (in response to Shestersophie) 
    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.

  • Help Please!!! - Unable to read or execute SQL with Next Run Time value.

    Hello,
    We have a requirement where we need to pick the results every five minutes based on the scheduler task "Next Run Time" value. The below is the SQL which was used to run the task every 5 minutes
    SELECT <%RESULTS%>
    FROM
    <%SCHEMA%>.FCI_MAS_CONTACT T1
    RIGHT OUTER JOIN <%SCHEMA%>.FCI_MAS_VENDOR T2
    ON (T2.OBJECTID = T1.PARENT_OBJECT_ID)
    WHERE
    T1.CONTEXTID=<%CONTEXT(masterdata.Contact)%>
    AND T1.INACTIVE=0
    AND T2.INACTIVE=0
    AND T1.CREATED_AT>=
    SELECT
    (ALERT_AT_DATETIME - NUMTODSINTERVAL('5','MINUTE'))
    FROM
    <%SCHEMA%>.FCI_SYS_MANAGED_DAEMON SD,
    <%SCHEMA%>.FCI_SYS_ALERT SA
    WHERE
    SD.INACTIVE = 0
    AND SA.OWNERREF_CLASS_ID = 10502
    AND SA.OWNERREF_OBJECT_ID = SD.OBJECTID
    AND SD.SYSTEM_MANAGED <> 1
    AND SD.CONTEXTID=<%CONTEXT(common.ManagedDaemonType)%>
    AND SD.DISPLAY_NAME = 'Vendor Sync Program'
    OR
    T1.MODIFIED_AT >=
    SELECT
    (ALERT_AT_DATETIME - NUMTODSINTERVAL('5','MINUTE'))
    FROM
    <%SCHEMA%>.FCI_SYS_MANAGED_DAEMON SD,
    <%SCHEMA%>.FCI_SYS_ALERT SA
    WHERE
    SD.INACTIVE = 0
    AND SA.OWNERREF_CLASS_ID = 10502
    AND SA.OWNERREF_OBJECT_ID = SD.OBJECTID
    AND SD.SYSTEM_MANAGED <> 1
    AND SD.CONTEXTID=<%CONTEXT(common.ManagedDaemonType)%>
    AND SD.DISPLAY_NAME = 'Vendor Sync Program'
    While we run the above SQL as scheduler task, we do not see any output. However when we run this as a standalone, we see the results. Please advice if we have missed any step while run the report as schedule task.
    Rgds,
    Vinod

    Hi
    Have you:
    1. Assigned a valid agent to your task - and have you checked that agent found is within the range of valid agents
    2. If you have transported / or is testing on another client, remember that agent assignment must be made on that system as well - and remember - SWU_OBUF.
    3. if this does not help check the authorizations  -  display access to authorization PLOG is required for infotype 1000, 1001 for objecttype AC.
    Regards
    Morten Nielsen

  • Combining package configuration and Execute SQL task at run time

    Hi everyone,
    I have an issue regarding setting values at run time
    I use package configuration to manage different enviroments scenarios (DEV, PROD):
    XML file to store the connections string of SSISConfigDB
    and the actual values of parameters in that SSISConfig DB tables Filtered by ConfigurationFilter column
    Now, one of my packages needs in addition setting at run time value of a flat file name
    i used an Execute SQL task - within the task i read into a variable the file name using command line
    then, the full path of Flat File Connection is set by expression concatenating the root folder and the variable
    the problem is that the variable stays empy! as if the Execute SQL task was never executed!
     Am i doing something incorrect? in the package configuration wizard the configured value are only XML file and the connection string of the DB.
    to summerize - how can i combine package configuration, default value, Execute SQL task and expression at runtime?

    1.EvaluateasExpression=TRUE (Full Path variable)
    2. Do you mean to invlole a ISNULL() function in the expression? if so, no
    3. Of course i recieve a valid value
    4. The Full path expression is evaluated to the root folder - without the portion of the file name
    here is the syntax in Execute SQL Task:
      truncate table OnErrorFlagTable
      Declare @Path varchar(128)
      Declare @FileName varchar(128) 
      Declare @SenderID varchar(5)
      Declare @INST_COD varchar(5)
      Declare @Flag int = 0
     Declare @FileType varchar(2)='01'
      Truncate table TraumaRecords
    Select @Path = 'C:\RootFolder\'
     --***Insert into Temp table the file so we can take his name***--
    Create Table #Tmp(Txt Varchar(Max))
    Insert Into #Tmp(Txt)
    Exec master..xp_cmdshell 'Dir *.txt C:\RootFolder\/b'
    select top 1 @Filename = Txt From #Tmp
    Where ISNUMERIC(substring(Txt,1,1))=1
    order by Txt desc
    Insert into OnErrorFlagTable
    Select 2,@FileName
    Select @FileName as TraumaFileName,@FileType as FileType
    Then, in ResultSet TraumaFileName and FileType are mapped
    Expression of @TraumaFlatfileFullPath is
    @[User::TraumaFlatfilePath]+ @[User::TraumaFlatFileName]
    where the variable @[User::TraumaFlatfilePath] is evaluated in variable window (default value)
    and it's value is C:\RootFolder\
    and @[User::TraumaFlatFileName] is the ResultSet of the ExecuteSQLTask
    and for some reason when executed in SSIS return null while in SSMS return the expected value
    Can you try making this into a procedure with required parameters and call it from SQL task to see if you get return value correctly? Use OUTPUT parameters for getting back required values
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to get report (SQL Query) generating Run Time

    There is a Standard report of Payroll which show employee transfer information on the bases of location, grade job or organization, now to get actual query which is generated by run time in report builder including whether single column parameter or lexical parameter " because currently the query in not complicate but the parameter and lexical parameter is much more due to this not quite easy to under stand just copy past it into toad or pl/sql developer,
    Kindly share your experience to get such kind of query in you working time.
    thanks

    Here i try to explain contain of query.
    Parameter
    P_DEPTNO = 10
    P_WHERE_CLAUSE := ' AND EMPNO IS NOT NULL AND SALARY > 100'
    SELECT * FROM EMP
    WHERE DEPTNO = P_DEPTNO
    &P_WHERE_CLAUSE
    REPROT WILL GENERATE QUERY AT RUN TIME IS LIKE THAT
    SELECT * FROM EMP
    WHERE DEPTNO = 10
    AND EMPNO IS NOT NULL AND SALARY > 100
    Now i want to get this query out(Run time) by doing any oracle database feature or sth similar.
    thanks

  • Jframe not loading at run time

    I am creating a Jframe to fetch the details from the user which has certain questions and all the answers in form of radio button. It doesot give any error at compile time. but the container is blank during runtime. I am using box class and buttongroup. here is the sample code. Please advise.
    import java.util.*;
    import java.awt.*;
    import java.awt.event.ActionListener.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import javax.swing.border.*;
    import java.applet.*;
    public class exam extends JFrame
    public static void main(String[] args)
    JFrame.setDefaultLookAndFeelDecorated(true);
    JFrame frame = new JFrame("NPDT");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container content = frame.getContentPane();
    frame.setSize(800,800);
    ButtonGroup group = new ButtonGroup();
    ButtonGroup group1 = new ButtonGroup();
    ButtonGroup group2 = new ButtonGroup();
    JLabel businesslabel = new JLabel("1. What type of business are you in?");
    Box vbox = Box.createVerticalBox();
    vbox.add(businesslabel);
    vbox.add(Box.createVerticalStrut(5));
    JRadioButton edurb= new JRadioButton("Education");
    JRadioButton financerb= new JRadioButton("Financial");
    JRadioButton healthrb= new JRadioButton("Health Care");
    JRadioButton mediarb= new JRadioButton("Media");
    JRadioButton otherrb= new JRadioButton("Other");
    group.add(edurb);
    group.add(financerb);
    group.add(healthrb);
    group.add(mediarb);
    group.add(otherrb);
    vbox.add(edurb);
    vbox.add(financerb);
    vbox.add(healthrb);
    vbox.add(mediarb);
    vbox.add(otherrb);
    JLabel branchlabel = new JLabel("2. Do you have more than one branch?");
    Box vbox1 = Box.createVerticalBox();
    vbox1.add(branchlabel);
    vbox1.add(Box.createVerticalStrut(5));
    JRadioButton yesrb= new JRadioButton("Yes");
    JRadioButton norb= new JRadioButton("No");
    group1.add(yesrb);
    group1.add(norb);
    vbox1.add(yesrb);
    vbox1.add(norb);
    JLabel growthlabel = new JLabel("3. What is the percentage of expected growth?");
    Box vbox2 = Box.createVerticalBox();
    vbox2.add(growthlabel);
    vbox2.add(Box.createVerticalStrut(5));
    JRadioButton lessrb= new JRadioButton("< 30");
    JRadioButton medrb= new JRadioButton("31 - 50");
    JRadioButton morerb= new JRadioButton("51 - 60");
    JRadioButton greatrb= new JRadioButton(">60");
    group2.add(lessrb);
    group2.add(medrb);
    group2.add(morerb);
    group2.add(greatrb);
    vbox2.add(lessrb);
    vbox2.add(medrb);
    vbox2.add(morerb);
    vbox2.add(greatrb);
    Box finalbox=Box.createVerticalBox();
    finalbox.add(vbox(Box.createVerticalStrut(50)));
    finalbox.add(vbox1(Box.createVerticalStrut(50)));
    finalbox.add(vbox2(Box.createVerticalStrut(50)));
    content.add(finalbox, BorderLayout.CENTER);
    frame.setVisible(true);
    }

    It doesot give any error at compile time.it did for me, but after fix it displayed OK when run (java 1.5.0_05)

  • Images loaded at run time

    I have a situation where I need to have images placed on a web page, but the images themselves will be loaded from a database.
    How to I place these images that I load (jpg files) into the page?
    It looks like the Image component is only set up to bind to static fields at design time.
    Note that I can store off the image as anything I need to. I just need a way to display the image in somehting that Java Studio Creator gives us!
    Thanks.

    Hi,
    Please go through the following thread:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=46410
    It has a discussion and code samples on how to display images from database tables.
    I hope this is helps you.
    Cheers
    Giri :-)
    Creator Team

  • Images not loading at run-time

    See website uaesocial.joolo.com
    The images are not loading... I've verified the path. The
    images show when I'm working on the project offline but when I
    upload it, it doesn't show... path is on the same domain, e.g.
    assets/pictures/pic1.jpg
    I tried using SWFLoader instead of Image and it still won't
    work.
    Any ideas?!

    have you tried changing your links and putting the images in
    the same directory as your flex file. as this maybe the
    flash-players sandbox issue.

  • Image from database loaded at run time.

    Post Author: Adam20002
    CA Forum: .NET
    I am using Crystal Reports 11. I have a report with an image in it that i want to change dynamically from my ASP.Net page. I am doing this at the moment by passing an image path in as a parameter and setting the Graphics Location property. However the requirement has changed and now the image is coming from a database. So if i wanted the user to be able to select from a list of images stored in the database and have that image appear in the report when it is loaded what would be the best way to go about it?
    Thanks

    Did you ever find a solution to this problem?  I have the same problem when moving reports from development to Test to Production environments.  If the DBName is not the same the report ignores the name provided at runtime.

  • Can SQL*Loader be run in Form Builder of Developer/2000?

    Hi,
    I have to use sqlldr everyday to import billing data into DB.
    I really don't want to run it in command line.
    Help me!
    If posible, tell me how to make it run in Form Builder.
    Thank in advance,
    Quang

    forms allows you to execute an OS command . whatever the command you want , can execute using forms

  • Loading style sheets at run time

    I have created few fonts css and compiled them into swf to
    load them at run time.
    There is one custom component Card, is placed into a Module
    and this Module is loaded by main application.
    The Card component contains TextArea, MyTextArea(custom
    component) and ComboBox (which display font list).
    Now when user select any font from ComboBox, Card component
    load css and when it get loaded, it updates fontFamily of TextArea
    and MyTextArea. But only TextArea updated with new fonts while
    MyTextArea is not getting update anytime.
    Can anyone help me to figure out this.
    I am using following code to load css run time.
    var myEvent:IEventDispatcher =
    StyleManager.loadStyleDeclarations(fontSource[0].src,true,false,ApplicationDomain.current Domain);
    myEvent.addEventListener(StyleEvent.COMPLETE,fontComplete);
    myEvent.addEventListener(StyleEvent.ERROR,fontError);
    Any help will be appreciated, Thanks

    Could you save the CSS files as SWCs instead of SWFs and compile them in to the IPA?
    Just a thought; I've never done this myself.
    -Randy Nielsen
    Senior Content and Community Manager
    Adobe Systems Incorporated

  • Any possibility for loading and changing XFL/... data at run time of Flash app?

    Hi everybody,
    I have a quick and general question for the following case:
    I want to produce some transitions and effects for a kinetic typography project in After Effects and then import these parts into Flash Professional via XFL and Bridge.
    So my actual problem is this one: my Flash application should be able to load these made transitions and effects dynamically at run-time and not from a pre-configured timeline made upfront. Because there should be dynamic text fields in these XFL data from After Effects I also need to be loaded at run-time for the kinetic typography thing.
    So is there any possible way to do / load / change the dynamic text fields in these XFL data or the order of all transitions and effects in Flash Professional at run-time or anything else?
    I know this is a special question, but I hope there would be an answer...
    Thanks for your help in advance
    Regards,
    Kevin

    Something along this model is what I had in mind:
    public class MainPanel extends JPanel
        private DrawPanel drawPanel = new DrawPanel();
        private JComboBox comboLeft = new JComboBox();
        private JComboBox comboRight = new JComboBox();
        public MainPanel()
            // add drawpanel and comboboxes to main panel
            // add item listener to comboboxes
        private class ComboListener implements ItemListener
            @Override
            public void itemStateChanged(ItemEvent arg0)
                if (...) // both comboboxes changed
                    // get values from comboboxes
                    drawPanel.setValues(left, right); // call drawpanel's method
    public class DrawPanel extends JPanel
        private int left = 0;
        private int right = 0;
        public DrawPanel()
            //setPreferredSize(....); // set panel size
        @Override
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            //... draw the line depending on the left and right value
        public void setValues(int left, int right)
            this.left = left;
            this.right = right;
            repaint();
    }

  • How to use database control to execute sql queries which change at run time

    Hi all,
    I need to execute sql queries using database controls , where the sql changes
    at run time
    based on some condition. For eg. based on the condition , I can add some where
    condition.
    Eg. sql = select id,name from emp where id = ?.
    based on some condition , I can add the following condition .
    and location = ?.
    Have anybody had this kind of situation.
    thanks,
    sathish

    From the perspective of the database control, you've got two options:
    1) use the sql: keyword to do parameter substitution. Your observation
    about {foo} style sbustitution is correct -- this is like using a
    PreparedStatement. To do substitution into the rest of the SQL
    statement, you can use the {sql: foo} substitution syntax which was
    undocumented in GA but is documented in SP2. Then, you can build up
    the filter clause String yourself in a JPF / JWS / etc and pass it into
    the DB control.
    For example:
    * @jc:sql statement="select * from product {sql: filter}"
    public Product[] getProducts(String filter) throws SQLException;
    This will substitute the String filter directly into the statement that
    is executed. The filter string could be null, "", "WHERE ID=12345", etc.
    2) you can use the DatabaseFilter object to build up a set of custom
    sorts and filters and pass that object into the DB control method.
    There have been other posts here about doing this, look for the subject
    "DatabaseFilter example".
    Hope that helps...
    Eddie
    Dan Hayes wrote:
    "Sathish Venkatesan" <[email protected]> wrote:
    Hi Maruthi,
    The parameter substituion , I guess is used like setting the values for
    prepared
    statements.
    What I'm trying to do , is change the sql at run time based on some condition.
    For example ,
    consider the following query :
    select col1,col2 from table t where t.col3 > 1
    At run time , based on some condition , I need to add one more and condition.
    i.e. select col1,col2 from table t where t.col3 > 1 and t.col4 < 10.
    This MAY not address your issue but if you are trying to add "optional" parameters
    you may try including ALL the possible parameters in the SQL but send in null
    for those params that you don't want to filter on in any particular case. Then,
    if you word your query
    as follows:
    select col1, col2 from table t where t.col3 > 1 and (t.col4 = {col4param} or
    {col4param} is null) and (t.col5 = {col5param} or {col5param} is null) ...
    you will get "dynamic" filters. In other words, col4 and col5 will only be
    filtered if you send in non-null parameters for those arguments.
    I have not tried this in a WL Workshop database control but I've used
    this strategy dozens of times in stored procedures or jdbc prepared statements.
    Good luck,
    Dan

Maybe you are looking for

  • Layout changes removes the data

    HI, We copied a standard program RIAUFK20, the program shows the ALV output . We changed only the fieldcatalog. The problem is when the program shows the output first time it shows the correct data what we added to the standard one. When user changes

  • Add user validation in create user form during Configure User Object Classe

    Hi friends, I like to add a user validation code (javaScript or PL/SQL) into create user form during Configure User Object Classes. Is any way to pick user information and role assignment for validation in Portal side? or pre event in OID provisionin

  • 0rt_pa_tran_control initialization of delta queues

    Hi all, we are doing initialization for delta queues of Infopackage 0rt_pa_tran_control (POS DM), but the initialization job finished with the error RSAR 260 "Source system XXXXXXXX is not active for this BI" (XXXXXXXX is the logical system). Any ide

  • Unable to Log into Discoverer

    Hello All, I am able to login Oracle Applications with some user name and password. But when I am trying to log into discoverer with same user name and password it is throwing the error (Invalid Username / Password) (I checked the check box Oracle Ap

  • Jwsdp-1.4/xws-security/samples/simple/build.xml:108: wsdeploy failed

    Hi everyone, I am trying to deploy the simple sample for xws-security in the JWSDP 1.4 on redhat 9.0, I have done all the configurations as suggested by the tutorial and the readme file in the sample. But when I tried to run the sample by running "as