>>>> I need to find the date of last database restore. GSTAT -h can print
>>>> this information as "Creation date". Does anyone know how can I get this
>>>> information programatically?
>>>
>>> If monitoring tables are available, it might be easier to query
>>> MON$DATABASE with e.g.:
>>>
>>> select mon$creation_date from mon$database
>>
>> Unfortunately, I need this information for Firebird 1.0, too :-(
>
> In general, you can use the Services API to fetch the header page and
> then parse the content to get the creation date.
>
> Depending on your used database access layer product/components,
> especially in the Delphi world, they usually offer components which wrap
> the Services API calls/layer into an ease to use object model.
>
> So, what database access layer do you use?
>

I am working in a very heterogenous environment. The worst components 
which I still need to support are a heavily modified ancient version of 
ZeosLib for Delphi 5, and some unnamed C library used by a Linux 
version. So I think using the API directly and not depending on 
components is my best option.

Pepak


------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu.  Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    firebird-support-dig...@yahoogroups.com 
    firebird-support-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    firebird-support-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to