Analysis: Oracle/DB2 version

Hello All,

Does anyone has a analysis to check if there is a Oracle or DB2 intalled on the server, with version information also available??

Thanks…