SQL developer script output problem

HI,
when I use sql plus every column is separated while in sql developer is mixed, or coalesced.
I cannot clearly see the columns in the output.
tnx

I assume you are using the F5 "Run Script" option to execute your queries; in this case the output is produced in a sql plus like text.
But since not all of the formatting options of sql plus are completely implemented in SQL Developer the output is not guaranteed to be like the one produced by sql plus.
The easiest thing to do in this case is running your queries with the F9 "Run Statement" this will produce output in an excel like table that can be controlled by right clicking on the table headers and selecting the appropriate auto-fit behavior.

Similar Messages

  • SQL Developer Script Output too limited for student - how to increase?

    I'm just a student trying to migrate from notepad and SQL Plus to using the SQL Developer for the comprehensive course project. Unfortunately, the script output is way too limited... it only reports a fourth of my last assignment's results - not enough to use in the project. How specifically can this be increased. I have version 1.1.0.21 running on Windows XP on a laptop with 512k memory.
    Thanks much for any/all assist. I don't want to go back to notepad!!

    Thank you for the advice, but I had tried that. My script is 305 lines counting blank lines and the SQL developer displays only about 35 lines of results corresponding to 58 lines of input. When I run the same script in SQL Plus in a console window using the @filename command, I get the entire output.
    My input and output follow:
    Input:
    spool project-test-out.txt
    prompt 'name'
    prompt 'Assignment X, parts 2b - 2h and 3a - 3b '
    create table Customer (
         CustID Integer,
    Name Char(10),
    State Char(2),
         primary key (CustID) );
    create view CustID_List (ID_Cust) as (select custID from Customer);
    create table Inventory (
    PartID Integer,
    Item Char(10),
    Cost Float,
    OnHand Integer,
         primary key (PartID) );
    create table Invoice (
    InvNum Integer,
    InvDate DATE,
    CustID Integer,
         primary key (InvNum),
    foreign key (CustID) references Customer);
    create table Invoice_Item (
    InvNum Integer,
    PartID Integer,
    Quantity Integer,
         foreign key (InvNum) references Invoice,
         foreign key (PartID) references Inventory);
    insert into customer values ( 101, 'Kerry', 'MA' );
    insert into customer values ( 102, 'Edwards', 'NC' );
    insert into customer values ( 103, 'Cheney', 'TX' );
    insert into customer values ( 104, 'Bush', 'TX' );
    insert into Inventory values ( 1, 'Boots ', 149.95, 6 );
    insert into Inventory values ( 2, 'Spurs ', 12.95, 24 );
    insert into Inventory values ( 3, 'Buckle ', 19.95, 4 );
    insert into Inventory values ( 4, 'Hat ', 60.00, 12 );
    insert into Inventory values ( 5, 'Holster', 75.00, 8 );
    insert into Inventory values ( 6, 'Saddle ', 350.00, 2 );
    prompt 'Part grad 3b - unsatisfying solution, limitations of Oracle 10g Express'
    prompt 'After many trials, found oracle discussion on web stating that'
    prompt 'Oracle 9 does not allow subqueries in the trigger WHEN clause.'
    prompt 'What a pain. Thus the solution here has become rather inelegant.'
    prompt 'The trigger and following select statement are byproducts of various'
    prompt 'simplification attempts, none of which worked.'
    select ID_Cust from custID_List;
    create trigger Invoice_CustID_CK before insert on Invoice
         REFERENCING NEW AS newCustID
         FOR EACH ROW
         BEGIN
              if (:newCustID.CustID = 205 )
    --     {{want line below but it generates error of: subquery not allowed in }}
    -- {{this context }}
    --          if (:newCustID.CustID NOT IN
    --               (Select ID_Cust from CustID_List))
              then :newCustID.CustID := NULL;
              end if;
         END;
    run;
    show errors trigger Invoice_CustID_CK;
    insert into invoice values ( 201, '01-Aug-2006', 101 );
    insert into invoice values ( 202, '02-Sep-2006', 101 );
    insert into invoice values ( 203, '05-Oct-2006', 103 );
    insert into invoice values ( 204, '07-Oct-2006', 102 );
    insert into invoice values ( 205, '09-Oct-2006', 205 );
    insert into Invoice_Item values ( 201, 1, 1 );
    insert into Invoice_Item values ( 201, 2, 1 );
    insert into Invoice_Item values ( 202, 5, 2 );
    insert into Invoice_Item values ( 203, 1, 2 );
    insert into Invoice_Item values ( 203, 2, 2 );
    insert into Invoice_Item values ( 203, 3, 2 );
    insert into Invoice_Item values ( 203, 4, 2 );
    insert into Invoice_Item values ( 204, 4, 2 );
    insert into Invoice_Item values ( 204, 1, 1 );
    select * from invoice;
    select * from customer;
    select * from invoice_item;
    select * from inventory;
    prompt 'Preparation for part 2b - create view showing onhand and starting inventory'
    alter table inventory add (start_inventory integer);
    update inventory
    set start_inventory = onhand;
    create view inv_changes as
    select partid, sum(quantity) as sales_by_id
    from invoice_item
    group by partid;
    create table inventory_invoiced as
    select inventory.partid, item, cost, onhand, start_inventory, COALESCE (sales_by_id, 0) as sales_by_id_NZ
    from inventory left outer join inv_changes
    on inventory.partid = inv_changes.partid;
    select * from inventory_invoiced;
    update inventory_invoiced
    Set
    onhand = onhand - sales_by_id_NZ;
    select * from inventory_invoiced;
    prompt 'Part 2b - What item has the least on hand inventory after processing the invoices?'
    select item
    from inventory_invoiced
    where onhand = (select min(onhand) from inventory_invoiced);
    prompt 'Part 2c - How much does customer 101 owe?'
    create view cust101_orders as
    select distinct partID, quantity
    from invoice_item, invoice
    where invoice_item.invnum IN
    (select I.invnum from invoice I where I.custid = 101);
    select * from cust101_orders;
    select sum(quantity * cost) as cust101_bill
    from cust101_orders, inventory
    where cust101_orders.partID = inventory.partID;
    prompt 'Part 2d - Which customer has the biggest bill?'
    prompt ' desirable solution is to do part 2c as a general case '
    prompt ' using a stored function such that the custID is passed '
    prompt ' to the function. Unfortunately, neither function below '
    prompt ' compiles. First case trips on creating the view. Second'
    prompt ' case being arewrite without a view - ifit even works - '
    prompt ' trips on the complicated select'
    create or replace function ind_customer_bill
    (ind_customer_ID in integer)
    return Float
    IS ind_total_bill Float;
    begin
    create view cust_orders as
    select distinct partID, quantity
    from invoice_item.invnum IN
    (select I.invnum from invoice I where I.custid = ind_customer_ID);
    select sum(quantity * cost) into ind_total_bill
    from cust_orders, inventory
    where cust_orders.partid = inventory.partid;
    drop view cust_orders;
    return (ind_total_bill);
    end;
    show errors function ind_customer_bill;
    create or replace function ind_customer_bill
    (ind_customer_ID in integer)
    return Float
    IS ind_total_bill Float;
    begin
    select sum(quantity * cost) into ind_total_bill
    from inventory, (select distinct partID as interim_partID, quantity
              from invoice_item.invnum IN
              (select I.invnum from invoice I where I.custid = ind_customer_ID))
    where interim_partID = inventory.partid;
    return (ind_total_bill);
    end;
    show errors function ind_customer_bill;
    Prompt 'part 2d continued using shameful brute force technique'
    select * from cust101_orders;
    create view cust101_due as
    select sum(quantity * cost) as cust101_bill
    from cust101_orders, inventory
    where cust101_orders.partID = inventory.partID;
    create view cust102_orders as
    select distinct partID, quantity
    from invoice_item, invoice
    where invoice_item.invnum IN
    (select I.invnum from invoice I where I.custid = 102);
    select * from cust102_orders;
    create view cust102_due as
    select sum(quantity * cost) as cust102_bill
    from cust102_orders, inventory
    where cust102_orders.partID = inventory.partID;
    create view cust103_orders as
    select distinct partID, quantity
    from invoice_item, invoice
    where invoice_item.invnum IN
    (select I.invnum from invoice I where I.custid = 103);
    select * from cust103_orders;
    create view cust103_due as
    select sum(quantity * cost) as cust103_bill
    from cust103_orders, inventory
    where cust103_orders.partID = inventory.partID;
    create view cust104_orders as
    select distinct partID, quantity
    from invoice_item, invoice
    where invoice_item.invnum IN
    (select I.invnum from invoice I where I.custid = 104);
    select * from cust104_orders;
    create view cust104_due as
    select sum(quantity * cost) as cust104_bill
    from cust104_orders, inventory
    where cust104_orders.partID = inventory.partID;
    prompt 'and the answer to part 2d - biggest bill is'
    select *
    from cust101_due, cust102_due, cust103_due, cust104_due;
    prompt 'Part 2e - What items were the most popular (most sold)'
    select item
    from inventory_invoiced
    where sales_by_id_NZ >= ANY (
    select max(sales_by_id_NZ) from inventory_invoiced);
    prompt 'Part 2f - What was the value of the original inventory'
    select sum (start_inventory * cost) as total_start_inventory
    from inventory_invoiced;
    prompt 'Part 2g - What was the value of the ending inventory'
    select sum (onhand * cost) as total_ending_inventory
    from inventory_invoiced;
    prompt 'Part 2h - What customers did not place an order'
    -- after some testing of the inner nest parts wherein the left outer join
    -- results in a CustID_List entry 104 having a null entry in
    -- invoice's CustID list.
    select Name
    from customer
    where custID IN (select ID_Cust
    from (select ID_Cust, CustID
    from CustID_List left outer join invoice on
    ID_Cust = CustID)
    where CUSTID IS NULL);
    prompt 'Part 3a - What items were not purchased by anyone'
    select item as unpurchased
    from inventory_invoiced
    where sales_by_id_nz = 0;
    prompt 'Part 3b - table modifications for invoices to have valid CustID'
    prompt ' -- see 3b section at top of file, notes and trigger '
    drop view cust101_due;
    drop view cust102_due;
    drop view cust103_due;
    drop view cust104_due;
    drop function ind_customer_bill;
    drop view cust101_orders;
    drop view cust102_orders;
    drop view cust103_orders;
    drop view cust104_orders;
    drop table inventory_invoiced;
    drop view inv_changes;
    drop view custID_List;
    drop table invoice_item;
    drop table invoice;
    drop table inventory;
    drop table customer;
    Output:
    'name'
    'Assignment X, parts 2b - 2h and 3a - 3b '
    create table succeeded.
    create view succeeded.
    create table succeeded.
    create table succeeded.
    create table succeeded.
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    1 rows inserted
    'Part grad 3b - unsatisfying solution, limitations of Oracle 10g Express'
    'After many trials, found oracle discussion on web stating that'
    'Oracle 9 does not allow subqueries in the trigger WHEN clause.'
    'What a pain. Thus the solution here has become rather inelegant.'
    'The trigger and following select statement are byproducts of various'
    'simplification attempts, none of which worked.'
    ID_CUST
    101
    102
    103
    104
    4 rows selected
    trigger Invoice_CustID_CK Compiled.

  • SQL Worksheet - Script output is restricted to 5000 rows

    Hello,
    till now only 5000 rows are currently supported in a script results.
    I have read, this count will be a preference in future releases. Is there such a release and if "yes" how can I change this count of rows?
    Script Output of SQL Worksheet is the only possibility in SQL Developer I know, to export data from a query, that is a join of multiple tables, into flat file. Is there another one?
    Thanks,
    Tzonka

    You can run your query as a statement (F9) and the results will be displayed in the Results tab. In the Results tab, you can right-click, select Export and then Text. This will allow you to export the results of the query into a text file (or the clipboard). This will enclose values with " and separate with tabs (allowing alternatives is another "wait for a later release" function).
    This will produce the equivalent output of creating the view and exporting the data from the view tab as suggested by Sharon, without having to go to the effort of creating the view.
    If by "flat file" you mean exactly what you would get with a spool from SQL*Plus, then the Script tab is your only option and you are restricted to the 5000 rows.

  • Engineer to Logical Model in SQL Developer EA4 causes problems

    I'm working with SQL Developer 3.0 EA4 (Build MAIN-03.97)
    Unfortunately I fond out, that it would be impossible to use the function " Engineer to Logical Model" any more after I change the relational model. In datamodeler.log I got the error message line "[AWT-EventQueue-0] ERROR MDBAction - java.lang.NullPointerException" for each time I use the function "Engineer to Logical Model". I try it out with the sample model "sh_cre_all.sql" and with following steps:
    1) Import via DDL File – no problem
    2) Engineer to Logical Model – no problem
    3) Change some attributes in the relational model – no problem
    4) Again Engineer to Logical Model – no problem
    5) Save, Exit an Open the sample – no problem
    6) Again Step 3 and 4 – no problem
    7) Add a table via drag&drop from an oracle schema – no problem
    8) Save, Exit an Open the sample – no problem
    9) Engineer to Logical Model no longer possible!!!
    Bernd

    I have experienced similar problems with 'Engineer to Logical model'.
    The scenario was following:
    Creating Logical model using 'Engineer to Logical model' from existing Relational model.
    Modifying the Relational model and 'Engineer to Logical model' again. No exception occured but the Logical model wasn't updated accordingly.
    Removing all entities from the Logical model.
    Trying to 'Engineer to Logical model' again. No entities were created in the Logical model (even after few tries).
    So I got to situation where I was unable to generate a Logical model, which was quite frustrating.
    The workaround was to create new Data Modeller project and import to it from the original project - the 'Engineer to Logical model' worked again.

  • SQL Developer 2.1: Problem exporting and importing unit tests

    Hi,
    I have created several unit tests on functions that are within packages. I wanted to export these from one unit test repository into another repository on a different database. The export and import work fine, but when running the tests on the imported version, there are lots of ORA-06550 errors. When debugging this, the function name is missing in the call, i.e. it is attempting <SCHEMA>.<PACKAGE> (parameters) instead of <SCHEMA>.<PACKAGE>.<FUNCTION> (parameters).
    Looking in the unit test repository itself, it appears that the OBJECT_CALL column in the UT_TEST table is null - if I populate this with the name of the function, then everything works fine. Therefore, this seems to be a bug with export and import, and it is not including this in the XML. The same problem happens whether I export a single unit test or a suite of tests. Can you please confirm whether this is a bug or whether I am doing something wrong?
    Thanks,
    Pierre.

    Hi Pierre,
    Thanks for pointing this out. Unfortunately, it is a bug on our side and you have found the (ugly) "work-around".
    Bug 9236694 - 2.1: OTN: UT_TEST.OBJECT_CALL COLUMN NOT EXPORTED/IMPORTED
    Brian Jeffries
    SQL Developer Team

  • SQL Developer 3 EA2 - Problem with formating plsql source code

    I'm using sql developer 3 ea2. I have played with source code formating.
    I have 2 issues with formating in source code editor.
    I have a plsql string like the following extending over several lines.
    s VARCHAR2(2000) := 'SELECT
    col1, col2, col3
    FROM table
    WHERE col4 = :var';The result after apply "format" to my sourcecode ist:
    s VARCHAR2(2000) := 'SELECT
    col1, col2, col3
    FROM table
    WHERE col4 = :var';The second is that sql developer ist camelizing the previous line if I type a whitespace in plsql sourcecode.
    How to switch that off??
    The last issue is realy annoying!
    Christian

    I am having exactly the same problem. Every time you use Format Ctrl/F7 it adds new line feeds. Code starts off as:
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from Dba_Users@@
    where username=:1' ;
    First Format Ctrl/F7 get an extra blank line:
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from Dba_Users@@
    where username=:1' ;
    Then second Format Ctrl/F7, get THREE extra lines!!! It goes exponential!!
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from Dba_Users@@
    where username=:1' ;
    So far I've only really encountered the problem with dynamic SQL, which ignores the extra line feeds.
    i am pretty sure this is a long standing SqlDeveloper Format problem, going back to V2.

  • SQL Developer formatted output

    Hello,
    Could you please help me in getting the formatted output on Oracle sql developer tool, I am not able to find andy options to set
    I have copy paste the result from this tool to excel, I am getting plain text out put, I have more columns and readablity is not there
    Regards,
    Neil
    Edited by: NeilCSE on Apr 6, 2010 6:01 AM

    Hi,
    try this.
    I am on windows
    SQL> spool c:\emp_text.txt;
    Started spooling to c:\emp_text.txt
    SQL> select ename||'|'||empno from emp;
    ENAME||'|'||EMPNO
    JAMES|7900
    FORD|7902
    MILLER|7934
    SMITH|7369
    ALLEN|7499
    WARD|7521
    JONES|7566
    MARTIN|7654
    BLAKE|7698
    CLARK|7782
    SCOTT|7788
    KING|7839
    TURNER|7844
    ADAMS|7876
    14 rows selected
    SQL> spool off;
    Stopped spooling to c:\emp_text.txtThen open in excel as delimeted by |
    Regards,
    Bhushan

  • SQL Developer Import Excel problem

    I just recently installed SQL Developer (1.1.3).
    I created a table with 4-columns all char datatype.
    I tried to import an excel file into this table. Checked Header Row )1st excel record is header) and move all Available columns into Selectedcolumns. All my excel records are shown on the data preview. But when I click on [Insert], it gave me a message: No columns selected for insert.
    When I viewed the DML: insert into TBLCLOSETIMETABLE (Choose Data Type,Choose Data Type,Choose Data Type,Choose Data Type) VALUES('January','Thursday, February 01, 2007','Payroll','1st Wk');
    Any help will be greatly appreciated.

    I was able to "successfully" import excel files. I did not know I had to edit/map on the Data Types tab.
    Now I have a different problem where I have my date in excel as 01-Feb-07 and the
    Data Preview pane shows 39,114.
    I was not able to successfully import this column.
    Again, any help will be greatly appreciated.

  • SQL Developer and GeoRaptor problem

    Hi All,
    I have installed sql developer version 1.5.0.52, And in one schema i have spatial data, but as geo raptor in not installed in sql developer so i am unable to see the Spatial data.
    So in order to see the spatial data i installed Geo Raptor as below:
    Click menu item "Help" and "Check for update"
    2. Dialog "Check for Updates - Welcome"
    Click on button "Next".
    3. Dialog "Check for Updates - Step 1 of 3: Source"
    Add new Update center. Click on button "Add" and insert values:
    Name: GeoRaptor
    Location: http://georaptor.sourceforge.net/install.xml
    And sql developer update sucessfully , but after installation of Geo Raptor as well i am unable to find the Geo Raptor tool in SQL Developer.
    Could any one please help me that why Geo Raptor tool is not dispaying in SQL Developer.
    Thanks in Advance
    Vipin

    Vipin,
    I am one of the developers for GeoRaptor.
    I note that you are using version 1.5.0.52 of SQL Developer.
    The current version of SQL Developer works with version 2.1 and above.
    Download the latest version of SQL Developer (I run version 2.1.1.64) and reinstall GeoRaptor.
    If the install is correct you should see a GeoRaptor menu entry under the View menu pillar. Also, you
    should see GeoRaptor commands against the right mouse click menus on tables/sdo_geometry columns.
    Let me know if you still have problems.
    regards
    Simon

  • SQL Developer - Database connection problem

    Hi all,
    I had SQL Developer 1.5.4 with JDK, when connect to database with connection type TNS,
    test connection successfully, but when I try to open tables; here the error that I got:
    java.lang.NullPointerException
         at oracle.javatools.db.ora.BaseOracleDatabase.getCurrentSchema(BaseOracleDatabase.java:163)
         at oracle.javatools.db.ora.OracleDatabaseImpl.hasRole(OracleDatabaseImpl.java:247)
         at oracle.javatools.db.ora.OracleDatabaseImpl.reconnected(OracleDatabaseImpl.java:119)
         at oracle.javatools.db.ddl.DDLDatabase.<init>(DDLDatabase.java:53)
         at oracle.javatools.db.dictionary.DictionaryDatabase.<init>(DictionaryDatabase.java:57)
         at oracle.javatools.db.ora.BaseOracleDatabase.<init>(BaseOracleDatabase.java:130)
         at oracle.javatools.db.ora.OracleDatabaseImpl.<init>(OracleDatabaseImpl.java:109)
         at oracle.javatools.db.ora.Oracle8.<init>(Oracle8.java:17)
         at oracle.javatools.db.ora.Oracle8i.<init>(Oracle8i.java:38)
         at oracle.javatools.db.ora.Oracle9i.<init>(Oracle9i.java:181)
         at oracle.javatools.db.ora.Oracle9iR2.<init>(Oracle9iR2.java:41)
         at oracle.javatools.db.ora.Oracle10g.<init>(Oracle10g.java:26)
         at oracle.javatools.db.ora.Oracle10gR2.<init>(Oracle10gR2.java:18)
         at oracle.javatools.db.ora.OracleDatabaseFactory.createDatabaseImpl(OracleDatabaseFactory.java:112)
         at oracle.javatools.db.DatabaseFactory.createDatabaseImpl(DatabaseFactory.java:147)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:130)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:637)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:564)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1119)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:631)
         at java.lang.Thread.run(Thread.java:595)
    Any help would be appreciated.
    Thanks
    Michael

    It has nothing to do with the user and privilige thing.
    I think maybe it is a jdk problem.
    Maybe you can check the jdk version you are using.
    Goog luck.

  • Oracle SQL Developer Screen Flickers - Problem Fixed - JDK 1.6

    Hi,
    I'm using the latest version of Oracle SQL Developer (sqldeveloper-1.1.2.2579) on a Windows XP SP2 system and the application screen constantly flickers. Has anyone else experience this behavior? It's really annoying.
    Message was edited by:
    bitmap

    I'm using the default (non modified) ide.conf.
    # Oracle IDE Configuration File
    # Copyright 2000-2006 Oracle Corporation.
    # All Rights Reserved.
    IncludeConfFile jdk.conf
    AddJavaLibFile ../../ide/lib/ide-boot.jar
    SetMainClass oracle.ide.boot.Launcher
    AddVMOption -Xmx512M
    # Turn off verifications since the included classes are already verified
    # by the compiler. This will reduce startup time significantly. On
    # some Linux Systems, using -Xverify:none will cause a SIGABRT, if you
    # get this, try removing this option.
    AddVMOption -Xverify:none
    # JavaThread options are required to run JDeveloper with Sun Microsystems virtual
    # machine (-client and -server) because of a bug that was causing the VM to run
    # full GCs with realtime thread priorities. The bug is fixed in J2SE 1.5.0_06.
    # See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5101898 and
    # Oracle bug 4759180 for more info.
    AddVMOption -XX:JavaPriority10_To_OSPriority=10
    AddVMOption -XX:JavaPriority9_To_OSPriority=9
    # On some Windows Terminal Server installations, relocation errors of
    # system DLLs can sometimes occur when using OJVM. Use this option to
    # specify a heap base address for OJVM to resolve this problem. This
    # option only works with OJVM and cannot be used with any HotSpot JVM.
    # AddVMOption -Xheapbase100000000

  • SQL Developer Script

    Dear buddies,
    I need to migrate from SQL Server to Oracle. Please kindly guide me, how I can use the scripting options available in SQL Developer.
    I clicked on Tools -> Migration -> Third Party Database Offline Capture - > Create Database capture Scripts and saved the scripts in a folder.
    It generated 4 files as given below:
    OMWB_OFFLINE_CAPTURE.bat
    properties.sql
    sqlserver2005.ocp
    SS2K5_BCP_SCRIPT.bat
    How should I use them? I should run then in Oracle or in SQL Developer?
    I tried clicking on the bat file(OMWB_OFFLINE_CAPTURE.bat) and nothing happened. Not sure If I am doing the right thing.
    Please guide me. I just need to move the tables along with its data.
    Thank You Very Much.
    Regards,
    Nith

    The tutorials on OTN show how you do an offline capture. (http://www.oracle.com/technology/products/database/sql_developer/files/obe.html)
    and follow the the SQL Server Migration.
    Sue

  • Oracle-sql developer database connection problem

    hi all,
    i tried creating a new connection in SQL developer but unable to create.
    i tried with all the combinations such as
    connection name:hr_orcl
    username:hr
    password:hr
    connection tyrpe:basic,Role:default
    hostname:localhost/ip address of my system
    port:1521
    SID:xe/orcl
    But still it is hsowing as " network adapter could not establish the connection".
    So could anybody please help me in this regard as to how to resolve this issue as I have searched several sites but could not find a solution for this.Waiting for your reply at the earliest
    Thanks,
    Rajesh P.
    9949254433

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rajesh>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 28-DEC-2012 08:21
    :08
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 28-DEC-2012 08:20:36
    Uptime 0 days 0 hr. 0 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
    og\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rajesh-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\rajesh>

  • SQL Developer - database connect problem

    Hello
    Just wanted to give SQL Developer a try, downloaded it, unzipped and pointed at Java SDK's java.exe.
    It started, I created a TNS connection and successfully passed test. But when I try to connect to database - it errors with following
    java.lang.ArithmeticException: / by zero
         at oracle.jdbc.driver.OraclePreparedStatement.<init>(OraclePreparedStatement.java:1233)
         at oracle.jdbc.driver.OracleCallableStatement.<init>(OracleCallableStatement.java:100)
         at oracle.jdbc.driver.T4CCallableStatement.<init>(T4CCallableStatement.java:27)
         at oracle.jdbc.driver.T4CDriverExtension.allocateCallableStatement(T4CDriverExtension.java:88)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3135)
         at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3090)
         at oracle.dbtools.db.DBUtil.executeReturnOneCol(DBUtil.java:275)
         at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:137)
         at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:85)
    I googled for this error and found nothing suitable
    Other development tools including SQL Plus connect an run fine.
    I have 10g client, and I connect to 9.2.0.6 database. My OS is Vista Business SP1, so I though it might be UAC issue and tried running as both standard user and administrator, also allowed java.exe and sqldeveloper.exe through firewall. Nothing helped :(
    Any settings and ideas that might help will be appreciated.
    Thanks for help
    Edited by: user8082464 on Apr 27, 2009 12:25 AM

    Duplicate post in SQL Developer - database connect problem

  • HOW TO : Writing simple scripts in SQL Developer??

    Here is a simple script I run in SQL*Plus...
    the first SQL prints the QCSID, the second script prompts for a SID which is the QCSID from the first SQL... once provided it gives me the output I want...
    I just cannot do this in SQL DEVELOPER..... or Can I?
    select distinct qcsid from v$px_session;
    select sid,serial#,qcsid,qcserial#,degree,req_degree from v$px_session
    where qcsid in (select qcsid from v$px_session where sid='&sid');

    Ganesh,
    Simple substitution and defines work in SQL Developer scripts.
    I think the problem with running your script is that the first query results are not displayed before the window asking for the '&sid' value. That is the output to the 'screen output' tab is buffered and not synchronized with additional pop up (or dialog) windows. Is that correct?
    Currently:
    You can use substitution variables in the f5 'Run Script' but no bind variables.
    You can use bind variables in the f9 'Execute Statement' but no substitution statements.
    You can use anonymous PLSQL blocks, and packaged functions and procedures, so you can store per session state in PLSQL packages.
    -Turloch

Maybe you are looking for

  • Mic and cam

    this may be a dumb question,  but how do I know if there is a built in mic and webcam on my computer.  My husbands says it is here like his laptop but I do not see how to turn on the cam or know if the mic is working   I have a new hp pavillion, 24 i

  • Numbers Files will not open...just hang...

    Help!! My hard drive on my MacBook crashed. I backed up all of my information daily on both a USB and external hard drive. I transfered all the data to my PowerBook. I updated it with all the same systems as the MacBook. I put together very sophistic

  • FCP 10.2 crashed and now won't open.

    HELP! I'm running FCP on mac min 8gb for over 2 year. just updated final cut to 10.2 earlier this week. I'm editing my second project with new update, and this thing crashed. When trying to restart, it just freezes on " restoring window layout" and w

  • MAC OSX Lion 10.7.3

    I'm not able to upload a document in the Sharepod from my MAC OSX Lion 10.7.3

  • How to select from multiple addresses of account in IC Web Client

    Hi all, We are implementing a B2C scenario for IC Web Client. We have customers with multiple addresses. However, when we search the acount, only standard address comes to screen.  We want to be able select the related address, and then confirm the a