"BillCo" <coleman.bill@gmail.com> wrote in
news:1120117783.986559.26980@g44g2000cwa.googlegro ups.com:
[color=blue]
> 1. I'm the 4th person to work on this database which has been
> around for a long and grown organically for 5 years before I even
> joined this company.
> 2. Re-designing the backend now could cause major problems[/color]
It could also solve major problems.
[color=blue]
> 3. I agree that temp tables do not belong in the backend - but
> temp vs perm tables is not black and white ...there's a grey area.
> How long it is needed, how global is the data, who runs subsequent
> queries from it...[/color]
I don't see to many gray areas. Temp data is temp data. It doesn't
belong in the shared back end, unless multiple users are sharing the
same temp data. In that case, it's a different kind of application
than I've ever worked with.
[color=blue]
> 4. Creating temporary a temporary database, building a table,
> adding records to the table and then deleting the database adds a
> time overhead can be too much and is not practical in ALL
> circumstances.[/color]
Who recommended this latter course of action?
I create the temp MDB once, and leave it there.
If I'm concerned with bloat, I kill it on exit from the application,
and copy an empty copy of it from the server to the workstation on
application startup.
However, you'd be surprised how quickly Jet can create a new MDB
file -- it doesn't take nearly as long as you might suspect. I don't
do it because I just don't do DDL or that kind of DAO -- I much
prefer the two lines of code my solution takes.
--
David W. Fenton
http://www.bway.net/~dfenton
dfenton at bway dot net
http://www.bway.net/~dfassoc