This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix threaded cleaner, some oracle modifications
* threaded cleaner gets own db_hello - selects instance_name from database - if not found, return error - if found, insert conninfo and do the config stuff like normal db_hello * threaded cleaner waits until db_hello returns ok otherwise sleeps 5 seconds * fixed oracle instance_name insert into table instead of instance_id * added oracle truncate/delete all tables scripts refs #29,#31
- Loading branch information
Michael Friedrich
committed
Feb 10, 2010
1 parent
c9985f5
commit d2560c7
Showing
5 changed files
with
539 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
declare | ||
v_new_tab_name varchar2(35); | ||
begin | ||
for c1 in (select table_name from user_tables) loop | ||
v_new_tab_name := '' || C1.Table_Name|| '' ; | ||
execute immediate ('delete from '||v_new_tab_name) ; | ||
commit; | ||
end loop; | ||
end; | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
declare | ||
v_new_tab_name varchar2(35); | ||
begin | ||
for c1 in (select table_name from user_tables) loop | ||
v_new_tab_name := '' || C1.Table_Name|| '' ; | ||
execute immediate (' truncate table '||v_new_tab_name) ; | ||
commit; | ||
end loop; | ||
end; | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.