Hi Everybody,
I need to write a script to monitor tablespace health.
I am done with tablespace health. But I need to run this script for 7 different databases.
I need something like:
FOR dbname IN ('ABC' 'BCD','CDE','DEF','EFG',.. .. ..)
DO
connect to &dbname user dbfinder using mypass;
select current timestamp, tabspc_type,............;
disconnect &dbname;
END FOR
TERMINATE;
So I have statement to collect data ; but I want to modify only first line to add the database name in group (array).
Help please
DBFinder