Re: [firebird-support] detect if database has changed
Hi, Look at System Audit feature. Regards, Alexey Kovyazin IBSurgeon HQbird www.ib-aid.com On 09.10.2017 2:49, Hamish Moffatt ham...@risingsoftware.com [firebird-support] wrote: Is there an official way to detect if a database has changed? I have some expensive reports and backups to run, but if I know that the database has not changed since I last ran them I can skip those. fbstat (gstat) shows the next transaction number, but that changes even when only read-only transactions have run. Currently I am looking at the timestamp of the .fdb file, which also changes when only read-only transactions run. I would like to know if the data or schema actually changed, not just a transaction has run that didn't change anything. Thanks Hamish
Re: [firebird-support] detect if database has changed
Hi, use triggers on tables for this. Regards,Karol Bieniaszewski null
[firebird-support] detect if database has changed
Is there an official way to detect if a database has changed? I have some expensive reports and backups to run, but if I know that the database has not changed since I last ran them I can skip those. fbstat (gstat) shows the next transaction number, but that changes even when only read-only transactions have run. Currently I am looking at the timestamp of the .fdb file, which also changes when only read-only transactions run. I would like to know if the data or schema actually changed, not just a transaction has run that didn't change anything. Thanks Hamish
[firebird-support] select column if it exists
Is there a way to include a column in a SELECT but substitute a value if it doesn't? I need my code to work with different versions of my db schema. eg I want to SELECT A, B, C, ... but C might not exist. SELECT * would work of course, except it will fetch a bunch of columns I don't need. thanks Hamish
Re: [firebird-support] Connected databases to the Server
07.10.2017 22:57, 'Walter R. Ojeda Valiente' sistemas2000profesio...@gmail.com [firebird-support] wrote: > Which databases are connected, right now? Use MON$ATTACHMENTS with SYSDBA rights. -- WBR, SD. ++ Visit http://www.firebirdsql.org and click the Documentation item on the main (top) menu. Try FAQ and other links from the left-side menu there. Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ ++ 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: https://info.yahoo.com/legal/us/yahoo/utos/terms/