I'm using the database utility Execute Query to experiment with Oracle SQL (10g).
My problem is that even after successfully executing a CREATE TABLE
and an INSERT
, the records are not shown when opening the data inspector.
Here is what I run:
DROP TABLE Customer;
CREATE TABLE Customer (
CustomerNr INTEGER PRIMARY KEY,
LastName VARCHAR2(50),
FirstName VARCHAR2(50)
);
INSERT INTO Customer VALUES (1, 'Example', 'Joe');
The table is listed correctly:
Screenshot 1
However, no records are listed in the data tab:
Screenshot 2
SELECT * FROM Customer;
can be executed successfully, but nothing is returned.
If I disconnect from the database and connect again, the data is loaded properly.
SELECT * FROM Customer;
now also returns the inserted record correctly.
Is this a bug in Execute Query? Am I doing something wrong? What could I try to fix this?
PS: Please edit my post to include the images as I don't have the reputation to add images.