Return OS string from dbms_utility.port_string All users have access to this information The DBMS_UTILITY.port_string function returns the operating system and the TWO TASK PROTOCOL version of the database. Return "" if an error
(self)
| 414 | return platformName |
| 415 | |
| 416 | def getOSFromPortString(self): |
| 417 | """ |
| 418 | Return OS string from dbms_utility.port_string |
| 419 | All users have access to this information |
| 420 | The DBMS_UTILITY.port_string function returns the operating |
| 421 | system and the TWO TASK PROTOCOL version of the database. |
| 422 | Return "" if an error |
| 423 | """ |
| 424 | REQ = "SELECT dbms_utility.port_string FROM dual" |
| 425 | response = self.__execQuery__(query=REQ, ld=['PORT_STRING']) |
| 426 | if isinstance(response,Exception): |
| 427 | return "" |
| 428 | else: |
| 429 | if len(response)>0 and isinstance(response[0],dict): |
| 430 | return response[0]['PORT_STRING'] |
| 431 | else: |
| 432 | return "" |
| 433 | |
| 434 | def loadInformationRemoteDatabase(self): |
| 435 | ''' |
no test coverage detected