Added database/sql

This commit is contained in:
Anonymous
2014-01-17 07:03:16 -07:00
parent 84d3709fdc
commit cf2e16dba2
570 changed files with 84897 additions and 0 deletions
@@ -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;