| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> configuration management
Hello out there!
I wish to make package self-initializing, dependent of the environment
(production / test)
Is following a good design pattern?:
Package body my_ftp
....
ipnr varchar2(100);
begin -- begin block in package body!
if this_is_production then
ipnr := 'external.domain.com';
else
ipnr := 'internal.domain.com';
end if;
end; -- package end!
Greetings
Bjørn
Received on Tue Dec 14 2004 - 13:27:33 CST
![]() |
![]() |