Subject | RE: [ib-support] Non-technical database question |
---|---|
Author | Alan McDonald |
Post date | 2003-02-23T21:58:27Z |
Views are, in fact, not used enough, but they are extemely handy.. Yes they
are stored queries (they store no data - just a query definition) but they
are not updateable without adding certain triggers/stored procedures. They
are not something a newbie can necessarily get into straight away, but the
standard, non-updateable view is something to use quite readily for things
like making complicated joins a lot easier to read and manipulate.
I don't think interbase is a system to think in terms of readily emailing a
set of data from one point to another unless your application actually
exports the data from the gdb, then imports it... or you use a 3 tier
approach where connections are made to different databases to pump certain
data. It's not a database to be used the same way as a desktop system.
You might need to consider this mechanism in detail... do all clients have a
permanent internet connection? If so, there may be other alternatives.
Alan
-----Original Message-----
From: Cassandra Harley [mailto:cass.harley@...]
Sent: Monday, 24 February 2003 8:04 AM
To: ib-support@yahoogroups.com
Subject: RE: [ib-support] Non-technical database question
Alan,
Thankyou.
I am very new to this I know. I have all the interbase quides to get me
through the technical stuff, however there is a lot more for me to learn.
really just a query (I cringe as I ask this..).
So in effect, regardless of which method to use, I should only store the
tables in the database, all queries should be kept to outside of the
database.
In which case, why are views used? (I also know this is a more then likely a
silly question to anyone who knows. Please bear with me, I am trying to get
my head arund it all).
entirely dedicated to storing application information? ie version number.
data files to the accountant. The accountant may open the files to print
reports etc, but not want the client data merged with his own data (which
would be the case if only one database was used).
application from his office, but also instances where the accountants will
actually maintain the data for several clients.
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
are stored queries (they store no data - just a query definition) but they
are not updateable without adding certain triggers/stored procedures. They
are not something a newbie can necessarily get into straight away, but the
standard, non-updateable view is something to use quite readily for things
like making complicated joins a lot easier to read and manipulate.
I don't think interbase is a system to think in terms of readily emailing a
set of data from one point to another unless your application actually
exports the data from the gdb, then imports it... or you use a 3 tier
approach where connections are made to different databases to pump certain
data. It's not a database to be used the same way as a desktop system.
You might need to consider this mechanism in detail... do all clients have a
permanent internet connection? If so, there may be other alternatives.
Alan
-----Original Message-----
From: Cassandra Harley [mailto:cass.harley@...]
Sent: Monday, 24 February 2003 8:04 AM
To: ib-support@yahoogroups.com
Subject: RE: [ib-support] Non-technical database question
Alan,
Thankyou.
I am very new to this I know. I have all the interbase quides to get me
through the technical stuff, however there is a lot more for me to learn.
>firstly databases don't store queries - your application has the queries.When I say query I think I meant to say stored 'views'. But isn't a view
really just a query (I cringe as I ask this..).
So in effect, regardless of which method to use, I should only store the
tables in the database, all queries should be kept to outside of the
database.
In which case, why are views used? (I also know this is a more then likely a
silly question to anyone who knows. Please bear with me, I am trying to get
my head arund it all).
>tracking a version number stored by you in your own version table data.Do you mean that it is standard practice for a database to contain a table
entirely dedicated to storing application information? ie version number.
>third, you don't copy gdb files, you back them up and restore them (that'sPoint noted.
>just good practice)
>fourth, if data security is an issue and data needs to be distributed (i.e.It is an issue, also there is the possibility that the client will bring
>if you can't have one client getting access to another client's data), then
data files to the accountant. The accountant may open the files to print
reports etc, but not want the client data merged with his own data (which
would be the case if only one database was used).
>I'm assuming you want each of your clients to use this application and notA little of both. There are instances where the client would use the
>you (the accountant) to use it for all clients.
application from his office, but also instances where the accountants will
actually maintain the data for several clients.
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/