in reply to Re: export table to text.
in thread export table to text.
Thanks all for helping me. ;)
Unfortunately, I can't use DBI. Due to some constraints,
I have to use the shell script to query the DB.
sample output from script
primary_only_automation_enable_KJ_create or replace procedure primary_only_a
utomation_enable()
begin
-- Disable the automations that should not be running when in secondary mode
--alter trigger group automatic_backup_system set enabled true;
alter trigger group primary_only_triggers set e_KJ_
profile_write_KJ_create or replace procedure profile_write(in now UTC, in s
Char(16), in d Char(16), in j Char(16), in g Char(4), in an Char(32), in who Cha
r(64), in val Char(32))
begin
write into profiler_report values( to_char(now)+' [status='+s+', journals='+j+',
detai_KJ_
EvalCountThresh_KJ_create or replace procedure EvalCountThresh (in Occurrenc
eTime Integer) executable '/app/netcool/omnibus/utils/CountThreshold.pl' host 'd
evcrb' user xxxx group xxx arguments OccurrenceTime_KJ_
primary_only_automation_disable_KJ_create or replace procedure primary_only_
automation_disable()
begin
-- Disable the automations that should not be running when in secondary mode.
-- Requires tuning for local requirements
alter trigger group audit_config set enabled false;
alter trigger g_KJ_
I want output as filenamed primary_only_automation_enable with content as
create or replace procedure primary_only_automation_enable()
begin
-- Disable the automations that should not be running when in secondary mode
--alter trigger group automatic_backup_system set enabled true;
alter trigger group primary_only_triggers set e
and so on
Thanks again for help. btw Apologies for not formatting my earlier post and appreciate efforts from all to still help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: export table to text.
by missingthepoint (Friar) on Oct 17, 2008 at 07:48 UTC | |
by Anonymous Monk on Oct 21, 2008 at 09:10 UTC | |
by kirtivardhan (Initiate) on Oct 21, 2008 at 15:03 UTC | |
by Anonymous Monk on Jun 19, 2009 at 05:23 UTC |