No SQL*Loader in Instant Client;  any alternatives?

My Windows application uses SQL*Loader to bulk-load very large data files. Instant Client appears not to include SQL*Loader.
Is there an alternative to SQL*Loader that my application should be using instead? And (getting greedy here) does the same alternative work in both Oracle 10 and Oracle 9?
Thank you for any assistance,
Brett

Oracle XE has sqlldr. You can set it as the client environment unless you want to install the full Oracle client (of course can do custom installation) and then use for loader. You can configure your tnsnames.ora for the target database and that should work.

Similar Messages

  • Installing Oracle SQL loader in Oracel Client

    Hi
    Our Customer does not have SQL Loader in Oracle client
    I want to add Oracle SQL loader to the Oracle Client.
    Is there any solution other than uninstalling the present oracle client and
    re-installing the oracle client with SQL loader
    Regards
    Kandakuru

    Thanks a lot Kristian
    I will try with the oracle universal installer
    Regards
    Kandakuru

  • Use of SQL*Loader and Thin Client

    I have a java application that is currently using the thin client. For portability issues, I am unable to use an OCI driver. My application also uses SQL*Loader.
    My big issue is that The Thin client requires the HOST and SID for a connection.
    But, for SQL*Loader to work in a client/server environment it needs to use the SERVICE_NAME and net8. Is there any way to have SQL*Loader use similar information that the thin client is using?
    I know the right solution is to use the OCI drivers, but right now that is not feasible.
    Thanks for any help in advance
    Jeff McNurlan
    Navigation Technologies.

    I assume you are using an ObjectInputStream. Without seeing your code or a snippet I can't be certain...
    The JDBC spec says the following about ObjectInputStream :
    "An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream"
    Since there was nothing written by ObjectOutputStream, ObjectInputStream has nothing to deserialize and this exception would be raised.

  • How to configure PL/SQL Developer with instant client

    Hi buddies!
    I want to install PL/SQL Developer. I should be installing instant client? I need to install PL/SQL Developer in my pc which is going to access the database from the server.
    Please enlighten me.
    Thank You.
    Cheers!
    Nith
    Edited by: user645399 on May 12, 2010 4:26 PM

    user645399 wrote:
    These are the steps I followed.
    <snipped>I do not see a problem with these steps at all. It is correct. Step 7 is redundant (due to where you placed the tnsnames.ora file) - it's only really needed when you place the file in some other directory where +%ORACLE_HOME%\network\admin+ no longer applies.
    Note that the client itself, needs to load the InstantClient OCI DLL - and this DLL uses the environment settings and the rest to "do its thing".
    If the client loads some other Oracle client DLL, then the bets are off that InstantClient will be used, never mind will work.
    Only a single copy of a DLL can exist in memory. Thus if some other s/w is using some other OCI DLL, then that DLL is already loaded and will be re-used by all other client s/w. None will be able to use the InstantClient DLL itself.
    So make sure that no Oracle client driver is loaded at all. Then ensure that when client s/w requests to load the OCI DLL, it is loaded from the InstantClient directory.
    As far as I recall, the Win32 LoadLibrary() kernel call is made by the application - if the DLL is not yet in memory, the current directory (in the virtual machine for that Windows process) is used. If the DLL does not exist there, the %PATH% variable is used to find and load the DLL. The DLL usage counter is then set to 1. As more processes request the DLL, it is incremented. When a process terminates, the usage count is decremented. When it reaches 0, its unloaded from memory.
    Bottom line to all this is that only a single DLL module (irrespective of the number and versions of physical DLL files on disk) can reside in kernel space, and you need to make sure that the correct physical DLL file is loaded by the kernel.

  • Adding sql loader into 11g Client already installed

    I have already installed Oracle 11g client and need to add in sql loader. How is that best accomplished?

    Easier than I thought. Just go back into the previous oracle client home install and the preinstalled items will be greyed out. Just add additional components you want to install.

  • Dumb question re Sql Loader in XP Client

    Hi all,
    I have a rather silly question. Previously I've worked exclusively in a Unix environment, but now find myself in XP.
    I've done the full install of the Windows client for XP, but SQL*Loader is missing. I've RTFM'd, but can't find the necessary section. How do I get sql*loader installed in the XP environment?
    Thanks (and apologies) in advance

    IF you are talking of the 9i version, there should be the three database install disks (that contain both the database and the client tools). When you run the installer from the first disk from this set, you will have the option of installing the client tools (including SQL*Loader).
    http://www.oracle.com/technology/software/products/database/oracle10g/index.html
    http://www.oracle.com/technology/software/products/oracle9i/htdocs/winsoft.html

  • SQL*Loader-704 & ORA-12535 error , Oracle 9i AIX, Windows Client

    Hi All,
    I try to run SQL*Loader from Windows Client to Oracle 9i server on AIX. The control file is in the windows machine.
    C:\SqlLdr user/password@myoradb control=mycontrol.ctl
    (the data is 300,000 rows, on the same control file)
    I get this error :
    SQL*Loader-704 : Internal error : ulconnect: OCIServerAttach [0]
    ORA-12535: TNS:Operation timed out.
    FYI, from the same machine, TNSPing is OK, SQL*Plus run perfectly.
    What is wrong here ?
    Should I copy the CTL file into the AIX Server and run the SQL*Plus from AIX client console ?
    Thank you for your help,
    Krist

    Have you checked the sqlnet.log file for an indication of the underlying error? You can also enable network tracing in the sqlnet.ora file, by setting trace_level_client=16.

  • Problem using Instant Client 10g with PHP4.3.10-16 on Debian Sarge

    Hello,
    My current email is [email protected]
    I am trying to use PHP on Debian box using Oracle 10gR2 on a RH 4 server. Everything works fine individually, but I cannot get PHP4 to use InstantClient to connect to the Oracle Server. This is what I've done:
    Oracle 10gR2 works fine on the RH 4 server. Listener is running and all required OS security is in place and works (TCP_wrappers, etc.).
    Client machine runs Debian 3.1 (Sarge). It works fine and SSH connectivity to RH4 server works.
    Instant Client 10gR2 installed on Debian client and works fine. Tested SQL*Plus connection to the RH server. I installed Instant Client from the zip file.
    I did have to add libclntsh.so to /etc/ld.so.conf and run ldconfig to get Debian to use it, though.
    Apache2.0.54-5 on Debian client works fine. Web pages on it can be opened in browsers from other machines.
    Installed PHP4.3.10-16 on Debian client using following:
    ./configure --with-oci8-instant-client=<dir of my choice>
    --enable-sigchild
    I first checked ./configure help and the option with-oci8-instant-client was there.
    Configure went well. Log showed checking for Instant Client files.
    Ran make. Saw numerous Instant Client message as words scrolled.
    Ran make install. Successful.
    Restarted Apache2 with following env variables:
    LD_LIBRARY_PATH=<my Instant Client directory)
    TNS_ADMIN=<same directory where I put my sqlnet.ora and tnsnames.ora files).
    SQLPATH=<same directory>
    I know this is correct because Instant Client SQL*Plus can connect.
    Browsers on other machines can view simple php scripts run from the Debian box.
    BUT, phpinfo does NOT show an OCI8 section.
    phpinfo does show the correct extension directory, though.
    Somehow, my PHP4 configure and make is not using the --with-oci8-instant-client option.
    I checked $PHP4HOME/ext/oci8/config.m4 file and the verbiage IS in there to use the --with-oci8-instant-client option, either with the default location or the extension_dir location.
    I tried using the new ZendCore product, even though it is not certified for Debian. It installed okay but I could not get PHP5 to work. I uninstalled it successfully and redid all of the above.
    So, any ideas as to what else I can do here? Other than not use Debian (which is probably the wisest thing to do). And I suppose I could install a thick Oracle client, assuming that Debian would take it. But I prefer the Instant Client.
    I tried the PHP ./configure syntax I've seen several places on this forum.
    ./configure --with-oci8=instantclient,<directory>
    This syntax may work on Red Hat machines but it throws a syntax error on Debian and aborts the configure.
    Thanks for any help.

    Thanks, but that did not work. Configure aborts because it cannot find the required OCI8 libraries. The --with-oci8 option is for the Oracle "thick" client.  I have only the Instant Client...and am not interested in loading the older client.
    I may have my own solution next week, though. I will be loading RH4 on a new server and will then install ZendCore and forget all about using Oracle with Debian.
    Update on trying ZendCore on Debian Sarge:
    I tried installing it again yesterday. The install seemed go to well, and said it was successful.
    It did NOT load PHP5, however. Nor did it load the Instant Client. My previously installed PHP4 and Instant Client remained in my original directories.

  • Sql*loader in form9i

    dear all,
    how to call sql*loader from form9i?
    any one can help me...
    thx

    You can use the host built in to call a sqlloader located in the web server.
    If you want to call it from the web client,use the web_util library where you can find a proc to call executables on the web client.
    My oppinion is that is better to upload the import file on the web server(this functioanlity is also on the Forms demos that Oracle has released) and use the sqlloader located there.
    This will prevent you getting mixed will all kind of firewall issues.

  • Triying to intall oracle instant client

    Hi Buddies;
    I have to install oracle instant client in linux5 Red hat Enterprise.
    I got to create the next:
    Instant Client Package - Basic and Instant Client Package - SQL*Plus unzip it and make sqlplus runnable from anywhere ( set new PATH or copy to defined PATH) and test SQLPLUS sqlplus user/passwd@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=IP or hostname)(Port=port))(CONNECT_DATA=(SID=sid)))
    Is the first time I doing this; So I proceed to download the following files:
    instantclient-basic-linux32-10.2.0.3-20061115.zip
    oracle-instantclient-basic-10.2.0.3-1.i386.rpm
    I unzipped the firt one and now I got a new directory (instantclient_10_2) whi these files:
    -rwxrwxr-x 1 root root 72480394 Nov 15 2006 libociei.so
    -rwxrwxr-x 1 root root 67053 Nov 15 2006 genezi
    -r-xr-xr-x 1 root root 5486009 Nov 15 2006 libnnz10.so
    -rwxrwxr-x 1 root root 1398088 Nov 15 2006 libocci.so.10.1
    -rwxrwxr-x 1 root root 18825267 Nov 15 2006 libclntsh.so.10.1
    -r--r--r-- 1 root root 1600090 Nov 15 2006 classes12.jar
    -r--r--r-- 1 root root 1545954 Nov 15 2006 ojdbc14.jar
    -r-xr-xr-x 1 root root 120135 Nov 15 2006 libocijdbc10.so
    My doubt is, which of them to execute?
    And what I have to do with file oracle-instantclient-basic-10.2.0.3-1.i386.rpm?
    Besides, I don't see anything related with sqlplus, and I understand I need that.
    May be this is something simple, but I not sure what to do.
    Could somebody help me ?
    Thanks and best Regards;
    Al

    At first try to check the Instant Client download page again: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
    As you can see there are several categories of packages and description for these packages.
    Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
    Instant Client Package - Basic Lite: Smaller version of the Basic, with only English error messages and Unicode, ASCII, and
    Instant Client Package - JDBC Supplement: Additional support for XA, Internationalization, and RowSet operations under JDBC
    Instant Client Package - SQL*Plus: Additional libraries and executable for running SQL*Plus with Instant Client
    Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant
    Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
    Instant Client Package - WRC: Workload Replay Client used to replay workload for RAT's DB Replay Feature
    You need to download those packages which are required for your application (for example).
    Packages are provided in two versions. ZIP and RPM (for Redhat Package Manager).
    You don't need to download both of versions. You can choose only one - ZIP or RPM, it depends on you.
    Now you said, you need to use SQLPLUS.
    1.So, you need to download these two packages (assume that you are running 32bit Linux):
    instantclient-basic-linux32-10.2.0.3-20061115.zip
    instantclient-sqlplus-linux32-10.2.0.3-20061115.zip2. Unzip these packages and you will see new directory named instantclient_10_2
    3. Place this directory where you want (i.e to /opt directory)
    mv instantclient_10_2 /opt/4. set the environment (still using /opt directory)
    export PATH=/opt/instantclient_10_2:$PATH
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/instantclient_10_2Note: To make this settings permanent put this commands to shell profile file (i.e.: For bash it is .bash_profile file) in user's directory or to /etc/profile file to make this settings global for any user.
    5. Tnsnames file. By default TNS settings is searched in these directories and in order as follows:
    /home/<current user>/.tnsnames.ora (Note the dot in .tnsnames.ora in this case)
    /etc/tnsnames.ora
    /<path to directory where the instant client directory is located>/instantclient_10_2/network/admin/tnsnames.ora (in our case it's the /opt directory)
    Hope that helps.

  • SQL Loader not loading

    Hi,
    I have a client table with following description
    CLIENT_ID NUMBER(10)
    FIRST_NAME VARCHAR2(10)
    LAST_NAME VARCHAR2(20)
    I have client.dat file as
    2001, Joe, Soap
    2002, Jim, Bloggs
    2003, Jimmy, Bean
    I have SQL Loader control file client.ctl as
    LOAD DATA
    INFILE 'D:\client.dat'
    INTO TABLE client APPEND
    FIELDS TERMINATED BY "," TRAILING NULLCOLS
    CLIENT_ID INTEGER,
    FIRST_NAME CHAR(10),
    LAST_NAME CHAR(20)
    I am running sqlldr control=d:\client.ctl
    I get the message
    Commit point reached - logical record count 2
    commit point reached - logical record count 3
    But at the end of this I do not see these two records appended in the table.
    Please help
    Thanks

    Hi!
    Check whether there is any bad file generates there or not. If it is - generates then see what are the records are rejected. And, also check the corresponding log file - what is the message it is giving. So, far i don't think there is any error in your code.
    Regards.
    Satyaki De.

  • Define variable in SQL Loader Control File

    Hi,
    I have an input file where the first line is the header record, followed by the detail records. For the processing, I do not need to store the fields of the header record but I need a date field from this header record and store in as part of the detail record in an oracle record row.
    Is it possible to define a variable within the sql loader control file to store the value that I need in memory then use it when I do the sql insert by the sql loader?
    Thanks for any advice.

    Not sure that you can. But if your on unix/linux/mac its easy enough to write a shell script to populates the variables in a template file that you can then use as the ctl file. The perl template toolkit could be an option for that as well

  • Oracle sql loader error

    options (bindsize=400000)
    load data
    infile '1377.bmp' "fix 17"
    append
    concatenate 50000
    into table PER_IMAGES
    (image_id constant 2004,
    image raw(811254),
    parent_id constant 1377,
    table_name constant "PER_PEOPLE_F")
    The above is my control file
    The file I am trying to load is a bmp file of size 811254 bytes
    unfortunately the size is larger than 64 K hence I have to concatenate it
    It cannot be broken into equal pieces
    hence I decided to break it into size 50000 bytes each and tried to load 17 pieces and concatenate it as suggested by
    metalink
    However it does not work
    The error message I get is as follows
    SQL*Loader-501: Unable to read file (1377.bmp)
    SQL*Loader-566: partial record found at end of datafile
    SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
    Any clues ?

    Hi,
    Please see if there documents help.
    Note: 1058890.6 - SQL*LOADER-524 USING SQL*LOADER
    Note: 105582.1 - SQL*Loader-524 When Loading Images
    Regards,
    Hussein

  • SQL Loader - BLOB & LONG COLUMNS

    I have a table with 500 rows
    200 out of these rows need to be exported from one database to another database.
    These rows have long and blob columns with values. The long columns COULD contain all sorts of special characters.
    How can this be achieved with SQL Loader? Is there any other tool that can be used to get this done?
    Any help will be appreciated.

    Hello,
    What's your oracle version? As satish mentioned you can use datapump for load and unload. Here is an additional way of loading lob data
    To load data upto 32k, you can use varchar2(32656) but its not a good idea to load clob in that manner because it's very inconsistent as length can vary resulting in string literal too long. So you have 2 choices now, first you have to use either procedure or anonymous block to load clob data
    First Method -- I loaded alert.log successfully and you can imagine how big this file can be (5MB  (upto 4GB) in my test case)_
    CREATE OR REPLACE DIRECTORY DIR AS '/myapth/logs';
    DECLARE
       clob_data   CLOB;
       clob_file   BFILE;
    BEGIN
       INSERT INTO t1clob
       VALUES (EMPTY_CLOB ())
       RETURNING clob_text INTO clob_data;
       clob_file   := BFILENAME ('DIR', 'wwalert_dss.log');
       DBMS_LOB.fileopen (clob_file);
       DBMS_LOB.loadfromfile (clob_data,
                              clob_file,
                              DBMS_LOB.getlength (clob_file)
       DBMS_LOB.fileclose (clob_file);
       COMMIT;
    END;
    Second Method: Use of Sqlldr_
    LOAD DATA
    INFILE alert.log "STR '|\n'"
    REPLACE INTO  table t1clob
       clob_text char(30000000)
    )Hope this helps.
    Regards

  • Cannot call SQL-Loader in php

    Hello,
    I'm currently trying to call the SQL Loader in a php-script in order to enable users to upload data by themselves by a simple button-click. I tried several things however everytime I'm clicking on the button, nothing happens.
    my code looks as follow:
    if ($upload_csv == "1") {
    $command="SQLLDR *Scheme*/*Passwrd*@*server* log='*server*/abc.log' control='*server*\abc.ctl'";     
    chdir("\\*server*\UPLOAD");
    $exec(command);
    I also tried it in several other ways, for examle calling the sql-loader-command directly or without the command-variable, however nothing worked.
    Am I doing something wrong

    Actually we're using MS Windows Server 2003 and also the call of the SQL Loader shouldn't be any problem as I called the Loader via batch-file on the server directly and it worked just fine - only calling the Loader or even the batch-file via PHP doesn't work...
    Well, I tried something out and moved the php-script to another folder and all of a sudden I started to get error-messages printed on the sceen.
    Tried it then in 2 ways - once with the command "$sell_status = shell_exec(abc.bat);" and got this error message back: CGI Error - The specified CGI application misbehaved by not returning a complete set of HTTP headers.
    Afterwards I also tried it with the exec()-Command and got this error-message back: Fatal error: Function name must be a string in - C:\Inet\root\Intranet\db_admin\test.php on line 14

Maybe you are looking for