TYPE 2 SQL_CURSOR MachineName Port SID UserName password Role MachineName Port SID UserName password Role MachineName Port SID UserName password Role MachineName Port SID UserName password Role DBVersion ;8.0.0 8.0.5; 8.1.5;9.0.0 9.0.1; 9.2.0; 10.1.0.2; 10.2.0; 10.2.0.3; 11.1.0; 11.2.0; MachineName Port SID UserName password Role 0) OR (database_role like '%STANDBY')) then initcap(database_role) else ' ' end from v$database ]]> MachineName Port SID UserName password Role 0) OR (database_role like '%STANDBY') OR (database_role='PRIMARY' AND FS_FAILOVER_STATUS != 'DISABLED')) then initcap(database_role) else ' ' end from v$database ]]> MachineName Port SID UserName password Role 1 SQL_CURSOR MachineName Port SID UserName password Role