简体   繁体   中英

I create some tables in SqlDeveloper but I can not see the data stored in the tables. Why I can't see the data in my tables?

I created a sql script to create and populate tables. The script was run in SqlDeveloper.

When I run the query

Select * from table_name

in Sql Developer it does work and returns the data from the table.

But when I open the Command Prompt and I login and execute the same query I receive the message "no rows selected". I also tried to run

SELECT table_name FROM user_tables;

in command line and it does work, all the tables names are returned.

Sounds like you did not commit the transaction. Issue a

COMMIT;

after your INSERT statements.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM