![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
SA10.0.1.3784 Windows Server 2003 Windows XP Pro I've searched the online documentation and was unable to find anything. Is there a database server property that can be queried that indicates how long the database has been up and running? Thanks Scott Huerta 3i Infotech (formerly Distinctive Solutions Corp.) |
#3
| |||
| |||
|
|
The following should do it: select property('StartTime') You can convert the resulting string to a timestamp and use the datediff() function to calculate an uptime. select datediff(second,property('StartTime'),current timestamp) SQL Anywhere Developer Community: http://www.sybase.com/developer/libr...ere-techcorner SQL Anywhere Blog Center: http://www.sybase.com/sqlanyblogs Scott Huerta wrote: SA10.0.1.3784 Windows Server 2003 Windows XP Pro I've searched the online documentation and was unable to find anything. Is there a database server property that can be queried that indicates how long the database has been up and running? Thanks Scott Huerta 3i Infotech (formerly Distinctive Solutions Corp.) |
![]() |
| Thread Tools | |
| Display Modes | |
| |