mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-12 22:45:02 -04:00
Added database/sql
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
-- This script prints out truncate and copy commands
|
||||
-- Use it to build the copy_from_database script.
|
||||
|
||||
set pagesize 0
|
||||
set line 500
|
||||
set escape \
|
||||
|
||||
select 'truncate table ' || table_name || ';' from user_tables order by table_name;
|
||||
|
||||
select 'insert into ' || table_name || ' select * from \&\&schema..' || table_name || ';' from user_tables order by table_name;
|
||||
Reference in New Issue
Block a user