Newbie blues: Oracle Sql Developer showing different data from Sqlplus.

Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
First of all; it would be difficult to know less about Oracle than myself.
I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
I wanted other views of the data and so logged in from the command line using SQLPlus.
The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
No fun ! What am I not understanding here ?

5e33d18c-3b32-48d4-82a7-676feeaa97c9 wrote:
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
First of all; it would be difficult to know less about Oracle than myself.
I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
I wanted other views of the data and so logged in from the command line using SQLPlus.
The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
No fun ! What am I not understanding here ?
Others sessions never see uncommitted data
> then wrote code to delete some rows. Lots of fun.
did you ever actually issue COMMIT so other session can see the changed data?

Similar Messages

  • Can I use Oracle SQL Developer to "Move" data?

    Hello,
    I'm new to Oracle and I'm trying to use Oracle SQL Developer to export data from one table (on server A) to another table (on sever B). I'm able to create a .ldr file but I don't know how to use the .ldr file in Oracle SQL Developer? I would appreciate any help you can provide.
    Thanks!

    Hi,
    The name of tables are different ?
    If I understood then try this below:
    e.g:
    C:\> exp user/password@connectionA file=maytable.dmp tables=SAFETYADMIN_TBL_0022_43
    C:\> imp user/password@connectionB file=mytable.dmp full=y
    After this import, then you can:
    [pre]
    C:\>sqlplus user/password@connectionB
    SQL> insert into SAFETYUSER_TBL_0022_44
         select * from SAFETYADMIN_TBL_0022_43;
    SQL> drop table SAFETYADMIN_TBL_0022_43;Feedback if this is not that you want.
    Cheers

  • Newbie to Oracle SQL Developer

    Hi guys, cheers for taking the time to read this post.....
    Im running a few different scripts in Oracle SQL Developer, one called CreateLocalSchema.sql, another CreateLocalProcedures,sql and a third SystemSetup.sql
    When I press f5 to run the Systemsetup.sql, im prompted to "enter the identifier of system". Does this mean the SID? Ive tried XE, my username (lbell),orcl.
    Not sure what to enter here. Im getting this error through most of the script output window.
    SQL Error: ORA-00904: "SYSTEMID": invalid identifier
    +00904. 00000 - "%s: invalid identifier+
    Do i need to do anything that i havent realised? Any help would be appreciated.
    Thanks

    Hi 899065      
    It depends on the script. You are being asked for input via substitution variable '&variablename' or '&&variablename' or via the accept command.
    set echo on
    before running the script will display the command before the output is printed. This may be reset within the script i.e. set echo off .
    Forum: SQL Developer *(Not for general SQL/PLSQL questions)*
    might be worth trying if the script works in sqlplus.
    -Turloch
    SQLDeveloper Team

  • Why the Oracle SQL Developer show Chinese abnormally?

    In my Oracle SQL Developer I see Chinese convert to error code such as "��介�Ε⑼�〩� ".
    My Oracle chartset is "ZHT32EUC" and Oracle SQL Developer Code is "MS950" by default.
    How can I set the corresponding code set to "ZHT32EUC" in Oracle SQL Developer?

    Hi,
    Does the machine already has files for East Asian languages and/or complex scripts options in the Supplemental Language Support section of the Languages tab for the Regional and Language Options setting installed (for WinXP machine)?
    - limoey

  • Oracle sql developer import .xls data for table

    When I import data from .xls how come it doesn't show me an message when the import is done? How do i know when it is done? How come I don't see all the rows. When I do a select count(*) from table I come up with different numbers every time I do it.
    Once I do create the table with the data how do I generate the scripts for it. I was able to get the scripts to create the table ->table->Right click -> Export ddl .
    But how do I get the script for the "Insert statements"
    Edited by: user8117487 on Oct 7, 2009 11:17 PM
    Edited by: user8117487 on Oct 7, 2009 11:26 PM

    Hesh,
    The numeric value of 39057 in an Excel cell does display as 06-Dec-2006 when applying a date format DD-Mon-YYYY, so you are getting the right value - just not the right formatting.
    Which column type are you trying to import the XLS date into? If you are not loading the value into a date field, SQL Developer is probably just loading the base excel value of 39057.
    theFurryOne

  • Don't  Oracle SQL Developer show Object tables ?

    Hi
    when I create a table of an object in oracle the SQL Developer don't show it in Tables tree
    my mean is that SQL Developer don't show object tables that are defined in user_object_tables or dba_object_tables
    in Tables tree (while other tools such as PL/SQL Developer do it)
    do you know that is there any solution for showing object tables in Table tree in SQL Developer ?
    thanks

    Any updates on this? I have the same problem. "Types" only shows the object types, but not the tables based on these object types.
    Erwin

  • Report deployed on production server show different data from that in debug mode

    Hi,
    i have created a report that use temporary tables and when i get the preview on Management Studio show some data, but when i deploy the same report on the production server i see that the data is different!!!!
    To check this issue i create a simple table on which i transfer the results data before to show it on the report and with my surprise  the number of rows of the production execution is less than the debug execution!!!!
    Notice that i use the same value for the report parameters.
    Any idea?
    Thanks a lot!!!

    Hi ,
      Check in your solution folder and try to find .data file.
      Delete the data .Data file on the same name of your report and run the report from SSMS.
      Check the below link on clearing report cache
      http://jasonfaulkner.com/ClearDataCacheBIS.aspx
    Best Regards Sorna

  • Unable to display results of multiple query in grid in Oracle SQL Developer

    Hi, I am a newbie to this forum and couldn't find the Oracle SQL Developer forum so posting it here.
    My question: How to display multiple query results in grid in Oracle SQL Developer.
    Example:
    select * from Employee;
    select * from Department;
    - when I select both the queries and hit F5 in Oracle sql developer. By default it displays in output window.
    - How to display result of both the queries in Grid.
    Any thoughts on this would be really helpful.
    Thanks in advance.
    Harsh

    Hi Harsh,
    I'd say that the Results grid is designed to only show the results of 1 query at a time. I don't know/can't see how it would display multiple queries at a time.
    I would suggest either joining your tables to create a single query or opening another SQL Worksheet for one of the queries so that you can display the results side-by-side.
    Maybe you could explain what you're trying to do. Why are you trying to display multiple results in the same query grid?

  • Oracle SQL Developer 1.0 is easy to install and use, and is portable

    I have tried the latest version of Oracle SQL Developer 1.0 and would like to share my experience of using it.
    Installation of Oracle SQL Developer 1.0
    Download from
    http://www.oracle.com/technology/software/products/sql/index.html?_template
    Unzip the Oracle SQL Developer for Windows (55.8 MB) to C:\sqldeveloper (103MB)
    Advantages: The unzip folder can be your removable disk and you can access Oracle
    anywhere provided that there is an Internet connection to Oracle Server.
    Unzip sqldeveloper-1557.zip to C:\ with folder name;
    double-click on sqldeveloper.exe in c:\sqldeveloper
    Click on [No]
    Tick all check boxes
    Click on [OK]
    Right-click on Connections, New
    Database Connection…
    Enter User name: SCOTT
    Password: TIGER
    Hostname: 127.0.0.1 (or IP of your Oracle Server on the Internet)
    SID: orcl
    If you want to connect to local Oracle user SYS,
    Enter User name: sys
    Password: ora10g_manager_password
    Hostname: 127.0.0.1
    SID: orcl
    Select Role: SYSDBA
    Click on [Connect]
    Right-click on Tables, Create Table
    Click on [Add Column]
    Select Type: NUMBER for COLUMN2
    Click on [OK]
    Table1 is created
    Click on TABLE1, click on “Data” tab
    Click on the “Green Plus” icon to insert record
    Click on “Commit Changes” icon
    Click on “DBConnection1” tab
    Enter: select * from table1;
    Click on “Execute Statement (F9)” icon
    To exit: Click on File, Exit

    Have you noticed that there's a forum dedicated to SQL Developer?
    C.

  • Oracle SQL Developer O/P and Toad O/P is Different for Same QUERY.

    Hi,
    can any one calrify me why i'm getting different result when i run the same QUERY in Oracle Developer and TOAD.
    When i Ran a Query in TOAD i could see Null&Data in a column called Customer_Category but when i Ran the same Query in Oracle SQL Developer i'm getting all Null N i couldnt see any data in the column.
    i have not performed any DDL r DML statement, just i got the Query and i Ran it in TOAD & Oracle SQL Developer.
    I found that the OUT PUT is different for perticular column.
    Thanks in Advance....

    > I found that the OUT PUT is different for perticular column.
    The RENDERING of data from Oracle (or any other server such as a POP3 server, web server, etc) IS DONE BY THE CLIENT.
    So to repeat - RENDERING IS DONE BY THE CLIENT.
    If one client selects to display the output received from the server differently than another client, it is a CLIENT ISSUE.
    It is not a server issue. It is not a SQL issue. It is not a PL/SQL issue.
    In other words, wrong forum for this question. You have a pure client side rendering problem which has absolutely nothing to do with SQL and/or PL/SQL.

  • How to view execution history for any date in oracle SQL developer tool ?

    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.

    sb92075 wrote:
    943838 wrote:
    hi, i want to view some executed queries(2 months before) in oracle SQL Developer. if i press F8 it shows execution history for only last 30 days. is there any option(query) or something to view execution history for specific date ? i want to see some queries, which is executed before 2 months in my oracle SQL developer tool. Pls help me out.it will never occurWhy not? Are you a member of the product team that develops SQL Developer?
    To the OP, there is a forum for SQL Developer
    SQL Developer
    And there's also a sticky on the forum for product enhancement requests
    "Feature Requests, Extensions and General Collateral "
    Cheers,

  • Oracle sql developer Data Modeler -er diagram

    Hi
    I tried to Oracle sql developer data modeler for show relational ER diagrams.
    Tables are came on data modeler but not shown relations between tables.
    like this
    How can show relations between tables?
    http://i54.tinypic.com/30wxq1e.jpg

    SDDM cannot create an ER diagram with only simple table definitions. It requires that primary keys (PKs) and foreign keys (FKs) be defined first. My guess is you imported these table designs from an existing database. If so, that database does not contain those constraints. (I have found this to be an issue in many organizations over the last 20 years - including my current job). You will have to determine:
    1. The PKs for each table (either via data profiling or talk to someone who "knows" what they are supposed to be, or by reading application logic/code used to manage the tables).
    2. The FKs between the tables. You may be able to guess some of that based on column names, otherwise you will have to figure them out (same as above)
    Then you can update the model in SDDM with the PK definiions (manually). You must do that first before you draw in the FKs between the tables. Now if you want a true Entity Relationship model you need create a logical model from this relational model. The SDDM utility for that will convert the tables to entities and the FKs to relationships.
    I have the basic steps with screen shots outlined in a presentation I gave in Denver in late 2009. It was an earlier version of SDDM but the basics are the same. You can find the presentation is here: http://www.rmoug.org/QEW2009/SQL%20Developer%20Data%20Modeler%20(2).pdf. Start at about slide 12.
    HTH
    (FYI - I no longer work at that company so the contact information not correct anymore).
    Edited by: Kent Graziano on Apr 25, 2011 1:13 PM
    Edited by: Kent Graziano on Apr 25, 2011 1:14 PM

  • Oracle SQL Developer Data Modeler 3.0 Bugs, Resolution and workarounds

    The purpose of this thread is to list bugs discovered while using ORACLE SQL Developer Data Modeler 3.0
    Mainly with SQL SERVER 2005 and ORACLE 10g models.

    SQL Server Physical model doesn't save table identity column.
    here are the steps to get this bug:
    1. create a table in relational model with a column as an integer to be used as an identity.
    2. create or open a physical model for SQL-SERVER 2005
    3. open the table in the physical model
    4. edit the integer column property dialog
    5. tick the identity check box and close the property dialog
    6. save the model and close it
    7. open it again, you will find the identity check is removed! (probably not saved from the start)

  • Urgent Help !!!  Export data into insert format (Oracle Sql developer)

    Hi all,
    Please help , when i try to export ms access table which have 400,000 over rows to insert format using oracle sql developer 1.5.5. After the export have done the exported file xxx.sql is empty.
    Is it because of too many rows? or what tool or function should i use for exporting table with many rows.
    It used to have exported successfully with
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    Insert into table( ) values ();
    ----- when i try to export table with over 10,000 row.
    Regard,
    Tun

    Another option is to export your file as Formatted text (space delimited). This will create a fixed format file. You can either create an external table to access the file or use sqlloader to load it. In your control file or access parameters you will specify the positions of the fields you are interested in. Your control file will look something like this:
    OPTIONS (BINDSIZE=50000,ERRORS=50,ROWS=200,READSIZE=65536)
    LOAD DATA
    CHARACTERSET US7ASCII
    INFILE '/home/FIXED_FORMAT.dat' "FIX 58"
    CONCATENATE 1
    INTO TABLE "EMP2"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    "ID" POSITION(1:2) INTEGER(2) ,
    "REGION" POSITION(3:3) INTEGER EXTERNAL(1) ,
    "DEPT" POSITION(4:6) INTEGER EXTERNAL(3) ,
    "HIRE_DATE" POSITION(7:14) DATE(8) "mmddyyyy" ,
    "SALARY" POSITION(15:19) DECIMAL(9,2) ,
    "NAME" POSITION(20:34) CHAR(15)
    SQLDeveloper does not currently provide an option to import fixed format files.

  • Using DEBUG Mode in Oracle SQL Developer Data Modeler to Log SQL

    Hello,
    I am looking for the possibilty to enable the logging of SQL in Data Modeler.
    Jeff Smith wrote an article how to do this for SQL Developer, for Data Modeler there are other configuration files. Does anyone have an idea?
    Best regards,
    Joop

    Hello Philip,
    the URL to the article of Jeff is: http://www.thatjeffsmith.com/archive/2012/10/using-debug-mode-in-oracle-sql-developer-to-log-sql/
    in the install directory of Data Modeler 3.3.0.734 exists a file datamodeler\datamodeler\bin\datamodeler.conf. This analogue the situation for sql Developer.
    However in this file there is no reference to a (non)debug file.
    In ide/bin directory there is a ide-logging-debug.conf and ide-logging.conf file. But they are not referenced. Should one of them be included?
    Joop

Maybe you are looking for

  • Other family members texts coming to my phone

    Our family upgraded to three iphone 4's today.  My daughter went online and registered her phone and was messing with icloud and a merge feature/function. When she plugged her dad's new phone into the same computer it began syncing and now every text

  • Issue in changing Account Group of a Customer

    Dear Gurus, I am trying to change the Account Group of a Sold to Party in XD07, from '0001' to 'Z001' (an exact copy of '0001'), but the system is giving an Error message "Change of account group not possible; customer used in SD documents".         

  • Can I view what cookies are stored on my iPhone?

    Hi, I know that you can clear cookies, clear history and change your cookie settings, but I am interested to know if there is a way that I can see what cookies have been stored on my iPhone. Does anyone know how or whether this is possible please? Ch

  • Destination Storage Unit in FM L_TO_CREATE_MOVE_SU

    Hi everyboday, I'm using the FM L_TO_CREATE_MOVE_SU  in order to create transfer order for moving storage units. I need to set the "Destination Storage Unit" but I cant find these field in he FM. I just have the  i_lenum field which is the "Origin St

  • RAW converter in Bridge

    The Elements Techniques March/April issue discusses the RAW cosnverter in Bridge that is a complete RAW converter that can be installed by updating the Adobe Bridge app but it does not seem to install.  I have Elements 6 for Mac with Adobe Bridge CS3