Returns the version information of the installation scripts (installmaster, installdbccdb, and so on) that was last run and whether it was successful.
sp_version [script_file, [all]]
sp_version
Script Version Status ----------- ----------------------------------------------------------------------- installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12:12 2004 Complete installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12:12 2004 Complete installmodel 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1861/32- bit/OPT/Mon Sep 27 23:40:02 2004 Complete
sp_version installmaster
----------- --------------------------------------------------------- installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12:12 2004 Complete
sp_version null, 'all'
Script Version Status Start/End Date --------------------------------------------------------------------- installdbccdb 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1861/32- bit/OPT/Mon Sep 27 23:40:02 2004 Complete [Started=Sep 29 2004 4:41PM]-[Completed=Sep 29 2004 4:42PM] installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12: 12 2004 Complete [Started=Sep 29 2004 3:49PM]-[Completed=Sep 29 2004 3:58PM] installmodel 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1861/32-bit/OPT/Mon Sep 27 23: 40:02 2004 Complete [Started=Sep 29 2004 4:51PM]-[Completed=Sep 29 2004 4:51PM]
sp_version 'install%'
Script Version Status ---------- ------------------------------------------------------- installdbccdb 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1861/32-bit/OPT/Mon Sep 27 23:40:02 2004 Complete installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12: 12 2004 Complete installmodel 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1861/32-bit/OPT/Mon Sep 27 23: 40:02 2004 Complete
sp_version 'install%', 'all'
Script Version Status Start/End Date --------------------------------------------------------------------- installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12: 12 2004 Complete [Started=Sep 29 2004 3:49PM]-[Completed=Sep 29 2004 3:58PM]
sp_version 'installmaster', 'all'
Script Version Status Start/End Date --------------------------------------------------------------------- installmaster 15.0/EBF XXXXX/B/Sun_svr4/OS 5.8/asemain/1/32-bit/OPT/Thu Sep 23 22:12: 12 2004 Complete [Started=Sep 29 2004 3:49PM]-[Completed=Sep 29 2004 3:58PM]
sp_version allows you to determine the current version of the scripts (installmaster, installdbccdb, and so on) installed on the SAP ASE server, and whether they ran successfully or not, and the time they took to complete
Any user can execute sp_version. Permission checks do not differ based on the granular permissions settings.
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|