sybdiag database  Chapter 3: System Administration for Beginners

Chapter 2: System and Optional Databases

Determining the version of the installation scripts

sp_version allows you to determine the current version of the scripts (installmaster, installdbccdb, and so on) installed on Adaptive Server, whether they ran successfully or not, and the time they took to complete.

The syntax for sp_version is:

sp_version [script_file [, “all”]]

where:

For example, the following reports the latest version of installmaster that was run:

1> sp_version installmaster
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

This example describes what installation scripts were run, what time they were run, and what time they finished:

sp_version null, ‘all’
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 [Started=Sep 24 2004  3:39PM]-[Completed=Sep 24 2004  3:45PM




Copyright © 2005. Sybase Inc. All rights reserved. Chapter 3: System Administration for Beginners

View this book as PDF