Import Export using SQL Developer

People

I have 6 tables whose data must be exported from a database and imported into the other. The structure of the table constraints etc. is the same across both of the DB.

Database is 11g. Average amount of data in tables 5 is 2.5million contain lines and 1 340million.

Could you please suggest the best possible way to the export and import of data using SQL Developer. Developer SQL version 3.2.20.09

There is an option in the 'View' tab in Developer SQL by using 'DBA' but do not have s/n of these patterns. I am well aware expdp and impdp operations but it is managed by another team that can cause delays both want to do it myself.

Can we do expdp and impdp on SQL Developer without access s/n?

All of the suggestions.

Thank you

Simple method would be to create external table Using the ORACLE_DATAPUMP Access Driver. Its neat and fast.

http://docs.Oracle.com/CD/B28359_01/server.111/b28319/et_dp_driver.htm#i1007502

Tags: Database

Similar Questions

  • MySQL-> table using SQL Developer Oracle

    Greetings,

    Currently, I am a (student) temporary employee who is responsible for the migration of the MySQL database of a company to their new (gr 11, 2) Oracle database.

    So far, I use SQL Developer, because I learned a few minor techniques with this application.

    I have tried different methods for the migration, including those of the Oracle (Migration of MySQL) page

    I however got no positive results with most of the methods.

    -J' have established a connection to the MySQL database Oracle database aswell, within SQL Developer

    Now, so far, I've copied manually (right click on the table, copy to Oracle) 90% of the tables from the MySQL to Oracle database successfully.

    However, these tables contain only about 5% of the data. The problem is in the 2 tables that actually have a decent amount of records.

    FOR INFO:

    File 1: 75MB file .csv, ~150.000 records (individual records contain all select queries, where the size)

    File 02:50 MB of files .csv, ~2.200.000 records

    My previous attempts to use the same copy for Oracle option to right click on one of the two largest tables resulted in the following error:

    The table of queries down. Message: java.io.IOException: IO error: socket read timed out

    My first action to prevent this error has been to add a second file data to the current storage space, giving it 200M maxsize.

    Okay it's coming, my real questions!

    This could be a possible solution to avoid the error mentioned earlier to return?

    What other issues are possible in case of failure?

    Uses an external table to a faster and more effective method?

    (The reason for which I have not yet tried external tables is because I had no SYS (TEM) privileges, so anything that requires privileges, I first have to discuss with my superior).

    Any help is appreciated! Although my next answer is maybe not earlier that come Monday 17.

    Welcome, Brent

    Hello

    I just discovered there is a csv Import Wizard in sqldeveloper also - don't know if you tried?

    tables in the destination database (oracle) - right-click and choose Import data - this will bring you in a Wizard of csv.

    However, I think that due to the volumes of data it may have similar problems.

    sqlldr is probably your best choice - it's pretty simple once you find a decent example - it seems to cover the basics of ok - Oracle SQL Stuff (for example): SQL-Loader: the tutorial step by step - example 1 (CSV file)

    See you soon,.

    Rich

  • How to get the full DDL using SQL developer

    Hi all

    I need get the full DDL a table with the details of the index partitions, synonyms, comments (if any) and give information if given any role, use SQL developer. We can achieve the same thing using shortcut F4 on name of the table into a frog, then selecting tab DDL. Is it possible to get the same in SQL Developer also?


    Also how I see existing procedures using SQL developer?  A toad, we were able to achieve using the schema browser.

    Hi all

    I reached by - right click on connection - diagram open... and any browser will even...

  • To use SQL Developer 4.0.1 (4.0.1.14.48) on the operation of Win7 32-bit; but no JDK provided with the 32-bit download?

    For some reason, my IT Department installed a 32-bit Win7 on a laptop capable of 64-bit (HP ProBook 6460 b).

    I want to download and use SQL Developer 4.0.1 but see there is no 32 - bit download of it delivered with a suitable JDK.

    What are my options here

    (1) anyone can provide a download link for the appropriate JDK, and then what I do with it? I can place it in the same folder as the SQL Developer? I don't have administrative rights on my laptop by the way...

    (2) can I ask my IT dept to reimage my machine with Win7 64 bit rather than the 32-bit Win7?

    Here are the specifications of my laptop. Because it seems to be able to address up to 16 GB of RAM, I suspect 32 bit Win7 was installed as the laptop has only 4G of RAM in it. And without having to address more than 4 GB of RAM, it was perhaps the deciding factor to install a 32-bit version on Win7. Frankly, had not realized, he had nothing, but a 64 bit version of Windows 7:

    What is the least disruptive option / path of least resistance here?

    http://h10010.www1.HP.com/wwpc/pscmisc/VAC/us/product_pdfs/HP_ProBook_6460b_Notebook_PC_Datasheet.PDF

    You must inform your IT Department, you want a 64 bit OS.

    Then tell them you want to double your RAM.

    Trust me on this one.

    If they say no, then ask them to install Java 32 bit 7 on your machine, and you'll be ready to go.

  • Problem with migration SQL Server Oracle 11.2 2012 DB using SQL Developer Migration workbench

    Hello

    I have a problem when migrating SQL Server Oracle 11.2 2012 using SQL Developer Migration workbench, hope that someone had the same problem before and can give same advide...

    I use SQL Developer Version 4.0.1.14 and Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0. and last jtds - 1.3.

    I created the schema migration_repo, privileges, connected to the third part of Db (SQL Server) and begin a trial with assistant. In the first step of the model to Capture, I get the message from the:

    "Company Capture Capture failed.  Refer to the table MIGRLOG in the repository for more details ".

    But MIGRLOG is empty.

    Here is my log:

    <? XML version = "1.0" encoding = "windows-1252" standalone = 'no '? >

    < Log >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    < level > SEVERE < / level >

    oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil < class > < / class >

    < message > Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doOnlineEnterpriseCapture(FullMigrateTask.java:758) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doCapture(FullMigrateTask.java:601) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:400) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:314) < param > < / param >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:147) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193) < param > < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ (RaptorTaskManager.java:554) < param > RaptorFutureTask.run < / param >

    java.util.concurrent.Executors$ (Executors.java:471) < param > RunnableAdapter.call < / param >

    java.util.concurrent.FutureTask.run(FutureTask.java:262) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) < param > < / param >

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:615) < param > < / param >

    java.lang.Thread.run(Thread.java:744) < param > < / param >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@68e69a < param > < / param >

    < exception >

    < message > oracle.dbtools.migration.workbench.core.ui.FullMigrateTask$ FullMigrateTaskException: Capture

    Capture Enterprise

    Capture failure.  Refer to the MIGRLOG table in the repository for more details < / message >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 758 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 601 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    line 400 > of < < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 314 < / line >

    < / framework >

    < frame >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    < line > 147 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTask < class > < / class >

    < line > 193 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$ RaptorFutureTask < class > < / class >

    < line > 554 < / line >

    < / framework >

    < frame >

    java.util.concurrent.Executors$ RunnableAdapter < class > < / class >

    < line > 471 < / line >

    < / framework >

    < frame >

    java.util.concurrent.FutureTask < class > < / class >

    < line > 262 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor < class > < / class >

    < line > 1145 < / line >

    < / framework >

    < frame >

    java.util.concurrent.ThreadPoolExecutor$ Worker < class > < / class >

    < line > 615 < / line >

    < / framework >

    < frame >

    java.lang.Thread < class > < / class >

    < line > 744 < / line >

    < / framework >

    < / exception >

    < / recording >

    account <>

    < date > 2014-03-16T 20: 49:17 < / date >

    oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle < recorder > < / recorder >

    WARNING < level > < / level >

    oracle.dbtools.migration.workbench.core.ui.FullMigrateTask < class > < / class >

    <>error message: ORA-06550: line 1, column 14:

    PLS-00201: identifier ' SS2K5ALLPLATFORM. STAGECAPTURE' must be declared

    ORA-06550: line 1, column 7:

    PL/SQL: Statement ignored

    : FAILED: Database Migration: FAILURE < / message >

    oracle.dbtools.migration.workbench.core.logging.LogInfo@1e2c9b99 < param > < / param >

    < / recording >

    I try with model db (DB empty, just a single table), but the error is same. However, if I try to copy the acronym tabele from SQL Server to Oracle it works fine...

    I guess it's something with the configuration, but beacause I am new in Oracle still have no idea...

    Any help would be much appreciated

    I thank in advance

    Stefan

    Hello Stefan,

    did you create the repository Migration of your database to Oracle (Tools-> Migration-> repository management)?

    The SS2K5ALLPLATFORM package is usually created when you add the migration of the Oracle database repository and it contains the function StageCapture.

    So please make sure that you have created a repository of migration in an Oracle database and associate it with the first step of your migration.

    -Klaus

  • Demonstrating the PL/SQL using SQL Developer functions

    Good afternoon

    I started writing some PL/SQL functions to replace some of the SQL I use most often.  Some very simple examples would be:

    create or replace function func_test (p_1 number) return number
    
    is
    
    x number;
    y number;
    
    begin
    
    
    x :=1;
    y :=2;
    
    
    return p_1 * x * y;
    
    
    end func_test;
    
    

    create or replace function func_test2 (p_1 varchar2) return varchar2
    
    
    is
    
    
    return_val varchar2(10);
    
    
    begin
    
    
    select p_1 into return_val from dual;
    
    
    return return_val;
    
    
    end func_test2;
    

    However, on my place of work that I have not been granted created function privileges again until I can show some examples, which is understandable.

    For the moment, without these privileges, is there a way I can build/test functions in principle locally using SQL Developer without the need to write functions in our database? I.e. can demonstrate meanings in SQL Developer, but devoid of envelope to create or syntax of replace?

    I hope that's not too vague.

    Using Oracle 11 g 2 (not connected to the database of the workplace at this time for a specific version not.)

    3.4 SQL Developer

    Thank you

    TP

    Hello

    The obvious solution is to get privileges.  If your employer wants to do you something, they give you the necessary privileges to do so.  It's silly for them to tell you to do something, but refuses to let you do.

    Otherwise, you can install Oracle on your own machine, as suggested above.  It's free and legitimate, if you only use it for learning and development.  Oracle Express Edition is very easy to install.

    As a last resort, you can write functions and procedures that are local to an anonymous block, like this:

    SET SERVEROUTPUT ON

    DECLARE
    Function func_test (p_1 number) return number
    is
    x number;
    number of y;
    Start
    x: = 1;
    y: = 2;
    return p_1 * x y;
    end func_test;
    BEGIN
    dbms_output.put_line (func_test (3))
    || '= func_test results.
    );
    END;
    /

    You can only call this kind of function of the anonymous block in which it is defined.

  • Using sql developer

    Hello

    I have mysql on a server and oracle on other sever (both under linux). I want to migrate data from mysql to oracle using sql Developer installed on another remote computer. What are the neccessities base that I have to keep in mind in this regard, or should I just use the installed with oracle sql developer.

    I do not have the required display variables defined on the oracle server and also an older version of sqldeveloper is installed with oracle. I think installing the latest version of sql developer on windows platform and then want to access the database on linux machines.
    Please notify.

    Thanx

    11 g DBA wrote:
    Hello

    I have mysql on a server and oracle on other sever (both under linux). I want to migrate data from mysql to oracle using sql Developer installed on another remote computer. What are the neccessities base that I have to keep in mind in this regard, or should I just use the installed with oracle sql developer.

    I do not have the required display variables defined on the oracle server and also an older version of sqldeveloper is installed with oracle. I think installing the latest version of sql developer on windows platform and then want to access the database on linux machines.
    Please notify.

    Thanx

    Download the latest developer SQL on your PC. Enable your firewall rules accept connections from your PC to the database port (usually 1521 - Oracle, 3306 - MySQL).
    Establish a connection with your data (assuming that the privileges are sorted) and start the migration.
    Note: For MySQL, you will need to download third party connector (a quick Google and you'll find the download and installation instructions).

    You already have the URL for the migration.

  • Data capture, etc. using SQL Developer mysql Orac conversion problems

    Hello

    I have been using Sql Developer to try to convert my mysql database to oracle, I managed to set up the connections and the repository very well. However, when I right click on my database connection and click on the capture of the capture window appears but nothing happens. What I am doing wrong?

    Thank you


    Aaron

    This error usually indicates a corrupt repository of migration or a user privilege is missing.

    Also the migration of SQL Developer 2 and 1 repository is not compatible - so I would say to create a single repository user for each new version.
    It is a repository of sample for SQL Developer 2.x user:

    CREATE USER migration IDENTIFIED BY migration DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;

    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE A PUBLIC SYNONYM TO
    Migration WITH the ADMIN OPTION.

    GRANT ALTER ANY ROLE, ALTER ANY SEQUENCE, ALTER ANY TABLE, ALTER TABLESPACE, ALTER ANY TRIGGER, COMMENT ANY TABLE, CREATE ANY SEQUENCE, CREATE ANY TABLE, CREATE ANY TRIGGER, CREATE ROLE, CREATE TABLESPACE, CREATE USER, DROP ANY SEQUENCE, DROP ANY TABLE, DROP ANY TRIGGER, DROP TABLESPACE, DROP USER, DROP ANY ROLE, GRANT ANY ROLE, INSERT ANY TABLE, SELECT ANY TABLE UPDATE no matter WHAT TABLE OF migration;

  • Cannot use sql developer Linux approx.

    Cannot use sql developer Linux CA. "enter" is not working well.
    Please give me some advices.thanks

    Looks like the old known problem with accelerators, try:

    Preferences - accelerators - load - default setting

    Hope that helps,
    K.

  • Error when using SQL Developer to IMPORT access data in Oracle

    Hello
    I use SQL Develoepr to export the Access mdb file to Oracle. When I try to use the tools -? Migration-> Microsssfot-> export access
    I get an error message to attach the Access database file, the error indicates

    "Error #40179 - XMLExporter - Methiod 'AddFromFile' of object ' _References failed." Export failed.

    What could be the reason for this error please notify.

    Thank you

    Don't know if it is related to your question, but you need a JDK 1.6 (Java SDK). What do you get in Help - about - Version?

    K.

  • Template Import/Export using webcenter Portal Builder

    Hello world

    I use Jdeveloper version 11.1.1.7 with extension 11.1.1.8 Jdeveloper and Wenter Portal version 1.7

    I created a page template in the portal Builder. I am trying to download this workflow in my Jdeveoper using Webcenter Design spaces. I don't know what are the changes to the properties template.PNG file

    Can someone explain to me what are all properties should be changed or amended/updated in the config.properties for import/export model of custom page of Portal Builder for Jdeveloper

    Thank you

    Ravi

    This link can help u

    Implementation of Oracle JDeveloper for WebCenter Portal Asset Development

    I'm also paste file config.prop mine for your reference.

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

    Properties of #My

    #CUSTOMER - all properties must be provided the eigenvalues

    #Fri Jul 30 00:00:00 PDT 2010

    # User inputs.

    # Enter the base directory where JDeveloper is installed.

    # For example:

    # On Windows, if JDeveloper is installed in the directory

    # C:\MYJDEV, enter the path as: C:\\MYJDEV

    # On Linux, if JDeveloper is installed in the directory/scratch/MYJDEV,.

    # Enter the path as: / scratch/mywork/MYJDEV

    # Note that the JDeveloper directory contains other folders such as jdeveloper.

    # wlserver_10.3, modules, and so on.

    JDeveloper.Install.Home.Directory=C:\\Oracle\\Middleware\\

    # Enter the executable wlst

    # For example:

    # On Windows, wlst.cmd

    # On Linux, wlst.sh

    #wlst.executable = wlst.cmd

    WLST. Executable = wlst.cmd

    # Enter the absolute path of the DesignWebCenterSpaces project.

    # For example:

    # On Windows, enter the path as:

    # extending.spaces.home.dir=C:\\JDeveloper\\mywork\\DesignWebCenterSpaces

    # On Linux, enter the path as:

    # extending.spaces.home.dir=/scratch/mywork/DesignWebCenterSpaces

    Extending.spaces.Home.dir=C:\\Users\\vinayk\\mywork\\DesignWebCenterSpaces

    # Enter the path for the executable ojdeploy

    # For example:

    # On Windows, enter the path as:

    # oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}\\jdeveloper\\jdev\\bin\\ojdeploy.exe

    # On Linux, enter the path as:

    # oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}/jdeveloper/jdev/bin/ojdeploy

    #oracle.jdeveloper.ojdeploy.path=${jdeveloper.install.home.directory}\\jdeveloper\\jdev\\bin\\ojdeploy.exe

    Oracle.JDeveloper.ojdeploy.Path=${JDeveloper.Install.Home.Directory}/JDeveloper/jdev/bin/ojdeploy

    # Enter the port number on which runs the Console of Administration of WLS.

    # The URL for the Administration Console contains the port number.

    # For example: http://myhost.com:7001 / console

    WLS.port = 7001

    # Enter the host computer on which the application of spaces is running and where

    # the custom shared library must be deployed.

    WLS. Host = WebCenter.Oracle.local

    # Enter the number of host and port on which runs the application of spaces

    # For example, if the application spaces runs to the: http://myhost.com:8888 / webcenter

    # wc.host = myhost.com, wc.port = 8888 and wc.protocol = http

    WC.port = 8888

    WC. Host = WebCenter.Oracle.local

    # Specify if spaces URL protocol is http or https.

    WC. Protocol = http

    # For reasons of security, information name and password for the administrator user

    # are stored in secure files.

    # Get the location of these files secure with your systems administrator

    # or run commands WLST to generate these files as follows:

    ##   1. Navigate to: WC_ORACLE_HOME/common/bin

    ##   2. Enter the command: wlst.sh

    ##   3. The WLST command prompt, connect to the Administration Server

    # for Oracle WebCenter:

    ##        connect('','', ':')

    # Where admin_user is the user name of the administrator, admin_pwd is

    # the administrator password, the host is the WebCenter instance and port is

    # the port of the Administration Server.

    ##  4. Run the following command to create a user configuration file and the key file

    # to a specified location:

    # storeUserConfig('', ')

    # Where userConfigFile is the name and location of the file that stores the information of the user

    # and userKeyFile is the name and location of the file store passwords.

    # For example:

    # storeUserConfig ("C: / myFiles/myuserconfigfile.secure ', 'C:/myFiles/myuserkeyfile.secure'")

    # For example:

    # On Windows, enter the path as:

    # wls.userkey=C:\\JDeveloper\\mywork\\ps1userkeyfile.secure

    # wls.userconfig=C:\\JDeveloper\\mywork\\ps1userconfigfile.secure

    # On Linux, enter the path as:

    # wls.userkey=/scratch/myfiles/ps1userkeyfile.secure

    # wls.userconfig=/scratch/myfiles/ps1userconfigfile.secure

    # Use the wls.userconfig property to set the path of the userConfigFile and

    # the wls.userkey property to set the path for the userKeyFile.

    WLS. Take is C:\\myFiles\\myuserkeyfile. Secure

    WLS. UserConfig is C:\\myFiles\\myuserconfigfile. Secure

    # Enter the target on which the shared library must be deployed.

    WLS. Target = WC_Spaces, adminserver

    # Enter the target on which the webcenter.ear file must be deployed.

    WLS. WebCenter.app.Target = WC_Spaces

    # Enter the name of the application of spaces (webcenter).

    # Get this information from your system administrator or the

    # WLS Administration Console as follows:

    ##    1. Connect to the Console of Administration of WLS.

    ##    2. Access deployments > webcenter > overview

    # Name of the application the poster here.

    WebCenter.app.Name = WebCenter

    # Use the restart.implementation.version.suffix property to override the following default value

    # Version number of implementation implementation of your shared library.

    # You can get the latest version of the implementation of your

    # system administrator or from the Console of Administration of WLS as follows:

    ##    1. Connect to the Console of Administration of WLS.

    ##    2. Access deployments > [your-shared-library-name] > overview

    # The version number displayed here. For example: 11.1.1.2.5

    # The current version of the implementation is the last number, i.e. 5 in this example.

    # The default implementation increments of 1 version whenever you rebuild

    # your shared library (using run the Ant Target > clean-Stadium).

    # You can restart to a higher value if necessary. For example, if the current value is

    11.1.1.2.20 # and you want the next new version to 11.1.1.2.41 rather than

    # 11.1.1.2.21, do it by resetting the property restart.implementation.version.suffix to 40.

    # Note:

    # The first time you run Run of Target Ant > clean-point, the manifestImpl.properties file

    # is created and the manifest.implementation.version property is set to

    # 11.1.1.2.1. This initial version number is derived from the default.implementation.version

    # in build.properties (11.1.1.2) and added to the property restart.implementation.version.suffix below.

    # For example, if the restart.implementation.version.suffix is set to 1, the initial report

    # manifest.implementation.version will be 11.1.1.2.1.

    # In later versions, the restart.implementation.version.suffix and the lastNumber property

    # in manifestImpl.properties are compared, and the largest of the two numbers is incremented by 1.

    # If, for some reason, the manifestImpl.properties file is deleted, the file is re-created the next time

    # run run the Ant Target > floors to clean and resets the version of the implementation by the

    # restart.implementation.version.suffix only (as if for the first time). For example, 11.1.1.2.1,

    # If restart.implementation.version.suffix = 1

    restart.implementation.version.suffix = 2

    restart.implementation.version.suffix.Ear = 2

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

    You need to generate the secure file... See here in this link

    http://www.techartifact.com/blogs/2013/04/generate-the-secure-files-in-WebLogic-in-WebCenter-spaces-applicaton.html

  • import .csv through SQL developer data

    I'm trying to load an Access 2003 table in a database from Oracle 10 g through SQL developer. The access file is located on another system, and there is no ODBC connection between him and the SQL Server.

    What I have done until now is the following:

    (i) export Access table as a comma-delimited text file.
    (II) to open the text file and saved as. CSV;
    (III) on SQL developer - created a table that matches the structure of the column in the Access table, original, then right click > import data > I in the data import wizard, click Next.

    After that, the wizard hangs at step 1 and does not allow me to proceed to the second stage. It isn't okay if the SQL * Loader option is checked.

    If anyone could offer some advice on the procedure I applied on it and possible sources of weakness, I'd love to hear your thoughts. I am relatively new to SQL Oracel and not very experienced with databases in general.

    Thank you

    Since it's not native import/export, a better place could be this forum:

    SQL Developer

  • Insertion and extraction of data from a database by USING SQL Developer al32UTF8

    Hi guys,.

    Before I post my questions, I think it's better for me to give you guys my first understandings so that it is easier to understand where / if I have gone wrong...

    I use Windows XP and Oracle 10 g
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Non-unicode client - a client program that needs to use the code page of the operating system for the mapping of unicode data retrieved from the database as well as the support to display/insert characters from the code page to the database.
    For example sqlplusw.exe

    Therefore, when you use a non-unicode client

    (1) we define the code page of the OS (Control Panel - regional and language of the parameter - advance - the language for non-unicode programs) to the code page that contain the characters that we will view/insert.

    (2) we also defined the NLS_LANG characterset on the character set of code page, that we'll insert so that when we do an insert (for example in thai), oracle will and automatic conversion to Unicode can take place. This is also true when recover us the database unicode data so that the correct character set conversion can take place.

    INSERTION OF
    THAI->-> UNICODE conversion

    RECOVERY OF
    THAI <-conversion <-UNICODE

    I hope that my basic understanding is correct up to this point.
    ---------------------------------------------------------------------------------------------------------------

    Unicode client - a client program that supports display/inserting unicode characters without the need to set the code page of the operating system (Control Panel - regional and language setting - control - language for non-unicode programs advance)
    For example isqlplus http or SQL Developer

    However,.

    (1) there are still set the NLS_LANG so that the correct conversion can take place between the client and the database.
    For example, when the recovery if we set NLS_LANG value ZHS16GBK (Chinese) character and store data in Unicode in the database is for example (THAI), then the conversion would be a mistake.
    It's a supported unicode client, then the NLS_LANG character set should be set to UNICODE as well.

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

    Those are my questions
    * Important - please help if you're busy and don't have the time to answer the remaining questions

    (* Q1) if I had to use a unicode client, what should I put my character NLS_LANG set?
    AMERICAN_AMERICA. UTF8?

    (* T2) where can I put the NLS_LANG information of character in SQL Developer, I know there is a metalink for setting NLS_LANG using isqlplus but I cant seem to google each led for SQL developer.

    Q3) is my basic understanding of up to this point? If no, please explain in a term more widespread that I'm really not familiar with character sets code page, unicode and fonts, glyphs...

    A unicode client (Q4) didn't need to refer to the OS codepage (regional and language updates), y at - it a code page UNICODE for the customer to refer to, or is there an available window API?

    Q5)
    , there are still set the NLS_LANG so that the correct conversion can take place between the customer and the > > database.
    For example, when recovery if we set NLS_LANG value ZHS16GBK (Chinese) character and the data store in > > unicode in the database is for example (THAI), then the conversion would be erroneous.
    I'm just on this point for customer UNICODE supported?
    --------------------------------------------------------------------------------------------------------------------------

    Thank you for spending the time to read my questions and I hope to hear soon tips from you guys.
    Million thanks again for sharing.

    Best regards
    Noob, but eager to learn

    The requirement to always set NLS_LANG is not true for JDBC, which ignores the NLS_LANG altogether. Java programs extract the textual data in string variables, which uses Unicode UTF-16 by design. JDBC defines the conversion of character sets so that data is converted between UTF - 16 and the database or the national character set.

    The obligation to set NLS_LANG is not generally true for the OIC, either. The first call to a problem of the BEAK may be OCIEnvNlsCreate(). This call has two parameters that allow the caller to set the character set to use for the text of VARCHAR2/TANK/LONG/CLOB/statement and the character set to be used for NCHAR/NVARCHAR2/NCLOB. Only if these character sets is specified as 0, character set NLS_LANG is used. Also, the OIC programs can specify different character for each binding sets or set the variable (i.e. the buffer input/output). Note: The OIC programs always use NLS_LANG to initialize the language settings and the territory for the client program and the database session. Only the character set can be specified is OCIEnvNlsCreate().

    OCIEnvNlsCreate() can specify the client character set to UTF-16 (platform boutien) format. This is not possible with NLS_LANG.

    Various interfaces based on the BEAK, such as ODBC Oracle and .NET for the ODP, explicitly initialize OCI with character set Unicode and therefore ignore the NLS_LANG character set as well.

    Thnx,
    Sergiusz

  • Create the view using SQL DEVELOPER

    I'm new to this forum :)

    11 GR 2, WIN2008 R2

    SQL Developer Version 3.2.09

    I am creating the data below view (view existing)

    Table: Dovmarker
    MARKERBOREHOLE                             UWI             MARKERSURFACE              Z
    WELLXXX               65372643AAAA     Cw     -982,985619574516
    WELLXXX               65372643AAAA     Cn     -1891,47401803955
    WELLXXX               65372643AAAA     J     -674,989528816517
    WELLXXX               65372643AAAA     K3     20,00165000429
    WELLXXX               65372643AAAA     Tr     125,000317308153
    WELLXXX               65372643AAAA     K1     -658,989731894024
    WELLXXX               65372643AAAA     Q     149,999999999549
    
    WELLYYY                          56618334AAAA     Jkm     -715,071442105268
    WELLYYY                          56618334AAAA     K3     36,9013966413975
    WELLYYY                          56618334AAAA     J2     -976,056079257549
    WELLYYY                          56618334AAAA     Tr     106,900507694299
    I try to describe the table and my goal :),

    each line describes wells, uwi(uniqe identifier), z (deppth), high (surface marker)

    I try to merge all lines with the same MARKERBOREHOLE/UWI and MARKERSURFACE contact coresponding Z (ascending) as MARKERSURFACE = Z.
    If it is posibble to reduce the number of decimals to 2.

    My idea to solve the problem:
    example: ' | ' is the delimiter
    WELLXXX    Q=149,999999999549 | Tr=125,000317308153 | K3=20,00165000429 |  K1=-658,989731894024 | J =-674,989528816517 | Cw=-982,985619574516 | Cn=-1891,47401803955
    WELLYYY   Tr=106,900507694299 | K3=36,9013966413975 |  Jkm=-715,071442105268 | J2=-976,056079257549
    or better (not enough knowledge ;))
    WELLXXX    Q=149,999999999549 
                     Tr=125,000317308153
                     K3=20,00165000429 
                     K1=-658,989731894024 
                     J =-674,989528816517 
                     Cw=-982,985619574516 
                     Cn=-1891,47401803955
    
    WELLYYY   Tr=106,900507694299 
                     K3=36,9013966413975 
                     Jkm=-715,071442105268 
                     J2=-976,056079257549
    Number of markersurface is different for each well


    I try to do it by the listagg function, but I have failled
    select markerborehole, listagg(z, ' | ') within group (order by z) as new1 
      from dovmarker
      group by markerborehole;
     
    result:
    WELLZZZ  -2575,95869465411 | -1891,47401803955 | -982,985619574516 | -674,989528816517 | -658,989731894024 | 
    WELLRRR -2376,96975480605 | -2376,96975480605 | -2308,97180590009 | -2308,97180590009 | -2206,47428534641 | -2206,47428534641 | -2163,97522524171
    When I tried to create new view in sql developer I occurred error;
    Error(s) parsing SQL:
    unexpected token near *!* in the following:
    select markerborehole, listagg(z, ' | ') within *!*group (order by z) as new1
    unexpected token near *!* in the following:
    select markerborehole, listagg(z, ' | ') within group *!*(order by z) as new1
    missing expression near *!* in the following:
    select markerborehole, listagg(z, ' | ') within group (*!*order by z) as new1
    Can you help me with this?

    Concerning
    Jaroslaw

    961148 wrote:
    I missed x

    Well Yes, my apologies, I has not changed all that.

    It's a simple way to format the Z value to 2 decimal places?

    Yes. It depends on if you want to use rounded, floor, ceiling, truncate or if you like a string always have 2 decimal places etc.
    Make your choice and customize according to your needs...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select 'WELLXXX' as MARKERBOREHOLE, '65372643AAAA' as UWI, 'Cw' as MARKERSURFACE, -982.985619574516 as Z from dual union all
      2             select 'WELLXXX', '65372643AAAA', 'Cn', -1891.47401803955 from dual union all
      3             select 'WELLXXX', '65372643AAAA', 'J', -674.989528816517 from dual union all
      4             select 'WELLXXX', '65372643AAAA', 'K3', 20.00165000429 from dual union all
      5             select 'WELLXXX', '65372643AAAA', 'Tr', 125.000317308153 from dual union all
      6             select 'WELLXXX', '65372643AAAA', 'K1', -658.989731894024 from dual union all
      7             select 'WELLXXX', '65372643AAAA', 'Q', 149.999999999549 from dual union all
      8             select 'WELLYYY', '56618334AAAA', 'Jkm', -715.071442105268 from dual union all
      9             select 'WELLYYY', '56618334AAAA', 'K3', 36.9013966413975 from dual union all
     10             select 'WELLYYY', '56618334AAAA', 'J2', -976.056079257549 from dual union all
     11             select 'WELLYYY', '56618334AAAA', 'Tr', 106.900507694299 from dual)
     12  --
     13  -- END OF TEST DATA - IGNORE ABOVE WITH CLAUSE
     14  --
     15  select z
     16        ,round(z,2) as round_z_2
     17        ,floor(z*100)/100 as floor_z_2
     18        ,ceil(z*100)/100 as ceil_z_2
     19        ,trunc(z,2) as trunc_z_2
     20        ,to_char(round(z,2),'fm9990.00') as string_z_2
     21* from t
    SQL> /
    
                      Z  ROUND_Z_2  FLOOR_Z_2   CEIL_Z_2  TRUNC_Z_2 STRING_Z
    ------------------- ---------- ---------- ---------- ---------- --------
     -982.9856195745160    -982.99    -982.99    -982.98    -982.98 -982.99
    -1891.4740180395500   -1891.47   -1891.48   -1891.47   -1891.47 -1891.47
     -674.9895288165170    -674.99    -674.99    -674.98    -674.98 -674.99
       20.0016500042900         20         20      20.01         20 20.00
      125.0003173081530        125        125     125.01        125 125.00
     -658.9897318940240    -658.99    -658.99    -658.98    -658.98 -658.99
      149.9999999995490        150     149.99        150     149.99 150.00
     -715.0714421052680    -715.07    -715.08    -715.07    -715.07 -715.07
       36.9013966413975       36.9       36.9      36.91       36.9 36.90
     -976.0560792575490    -976.06    -976.06    -976.05    -976.05 -976.06
      106.9005076942990      106.9      106.9     106.91      106.9 106.90
    
    11 rows selected.
    

    with above code I try to create a new view in SQL Developer, but I have error:

    Error(s) parsing SQL:
    Unexpected token near *!* in the following:
    select markerborehole, listagg(z,chr(10)) within *!*group(order by rn) as z
    Unexpected token near *!* in the following:
    select markerborehole, listagg(z,chr(10)) within group*!*(order by rn) as z
    Missing expression near  *!* in the following:
    select markerborehole, listagg(z,chr(10)) within group(*!*order by rn) as z
    

    What are all the {noformat}! * * {noformat} in the code? Delete them.

    Edit: or maybe your version of SQL Developer is not up-to-date and does not know the new LISTAGG function in 11g?

    Published by: BluShadow on 26-Sep-2012 09:41

  • Customer who uses SQL Developer

    We have improved our development of 10.1.0.4 to 11.1.0.7 database. We will test the version 11 of the customer, but we have still the 10.2 installed client. How can I know which client is being used with SQL Developer when I connect?

    I can't find anything under Tools > > Preferences, or in the connection itself. I can see several entries duplicated under "network Alias', which, if it is reading all the TNSNAMES.ora files under each customer, then who would be a sort of logic.

    V$ SESSION looks like it says nothing either.

    Thank you
    -= Chuck

    Developer SQL tries to detect the customer installs and use drivers JDBC them if possible. You can check what Oracle Home/JDBC driver, we use by accessing the area by the way (help-> comments) and go to the tab of properties Look for the jdbc.library and oracle.homeproperties.

    -John
    SQL development team

Maybe you are looking for

  • The new too short tab page

    Hello When I open a new tab, I am presented with the new tab page, that's fine. However, in recent days, I've found it does not display the last row of thumbnails (that they are supposed to be 3 rows and I can only see 2 of them). I checked the sourc

  • MacBook Pro 13 "mid-2009 - hard disk of cloth before selling it for parts

    I'm selling my MacBook Pro 13 "mid-2009 for parts.  The motherboard crashed.  The laptop is no longer active.  I have all the data of the hard disk (made for me by the repair store), but I still need to remove the hard drive and erase all that it con

  • Internal keyboard and mouse do not randomly respond time forcing me to restart my laptop 15 times until it works again

    1. sometimes this feedback haptic on the mouse is not triggered, leaving me by clicking on the mouse, while feeling against nature - something that is not supposed to happen 2. after I close my laptop / closing of the lid/Eve (do not turn it off) the

  • During the charge

    My computer died earlier today, so I put it on the charger. When I left my house, I forgot to unplug my laptop (macbook air). He has been in charge for about 5 hours. How will this affect my battery life? Should I be concerned? Thanks in advance for

  • How does knowledge graphics wich Qosmio F750-120 use?

    Hello How can I be sure that the Nvidea works instead of the graphics card intel?I can't go to the resolutions of 1900, so I think that something is not working properly...