you are probably right, if the SQL sever does not have enough memory
assigned or CPU is like 150mhz, and the allocated space for the DB is not
large enough to handle that growth without doing an expand.
You say creating all these tables create overhead. How does that differ from
the creating a myriad of Tmp tables when doing queries, or Stored procedure.
You are right about permission. I come from a DB design schema where anyone
that connects to the DB, has to have SQL server userID. I keep forgetting
that a lot of people don't implement this. So there would be a table
conflict if everyone was using the Same SQL server UserID to logon.
Clean up is not an issue the way I proposed it, since the macro would have
the cleanup code in it.
I run several SQL servers in Real-time processing. My clients are always
exporting and importing data, on a daily basis. I don't see a major hit on
the CPU time or SQL performance as this is happening.
I have one SQL server that imports over 1.5 million records nightly. The CPU
coast along.
> Importing the table to SQL Server at runtime is a ***REALLY BAD
> IDEA***. First of all, you'd also need to script permissions since the
[quoted text clipped - 46 lines]
> >> >>>>
> >> >>>>Matt
Mary Chipman - 16 Sep 2003 22:21 GMT
You may be importing 1.5 million records nightly in a batch process. I
bet you're not doing it on demand, whenever a user runs a report.
*That* is the issue.
-- Mary
Microsoft Access Developer's Guide to SQL Server
http://www.amazon.com/exec/obidos/ASIN/0672319446
>you are probably right, if the SQL sever does not have enough memory
>assigned or CPU is like 150mhz, and the allocated space for the DB is not
[quoted text clipped - 79 lines]
>> >> >>>>
>> >> >>>>Matt
BJ Freeman - 17 Sep 2003 03:43 GMT
True---- LOL
but they are importing 10 of thousands of records per day as different
tables.
and Yes they are on Demand, over the internet.
> You may be importing 1.5 million records nightly in a batch process. I
> bet you're not doing it on demand, whenever a user runs a report.
[quoted text clipped - 87 lines]
> >> >> >>>>
> >> >> >>>>Matt
Daran Johnson - 02 Oct 2003 17:49 GMT
Creating tables at runtime creates additional overhead and is not a good
idea. Temp tables should also be avoided for that very reason. Other
issues are the use of indexes and stored procedure recomples. For stored
procedures there is a recomplie everytime a DDL statement is issued and if
you are interleaving your DML and DDL statements then your stored procedures
are constantly being recompiled. You must be very careful when using DDL
statements in an application. Whether or not your own applications run fine
right now is not the issue. It's sloppy design and drags down the
performanace of the entire server.
Now, as to the original question. Does the data in the Access file need to
be real-time? Can it be a day old or an hour old? If so, you can use DTS
and import the data into SQL Server and go from there. If not, then use
Mary's suggestion to link Access to SQL Server.
I hope that helps.
-Daran
> True---- LOL
> but they are importing 10 of thousands of records per day as different
[quoted text clipped - 107 lines]
> > >> >> >>>>
> > >> >> >>>>Matt