简体   繁体   中英

Data from last Index tab in Oracle SQL Developer for JDBC

My Question is , is there a way to get all the Data displayd in the last tab "SQL" that is displayed in the Oracla SQL Developer. My purpose is to write a code that drops all tables and recreates them as they were.

enter image description here

My purpose is to write a code that drops all tables and recreates them as they were.

If you are working with Oracle you can use the TRUNCATE TABLE , which just removes all the data from the tables. Here's a guide on how to use it.

You do in essence like this ...

TRUNCATE TABLE table_name
CASCADE;

Does this solve your problem ?

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