05-14-2006 09:35 PM
05-14-2006 11:42 PM
Hi Golden_H,
I don't know what utils the DC Tools provide, but the following SQL comand will return the number of rows in a table:
SELECT COUNT (*) FROM YourTableName
Re: Clearing your table, again the DC Tools may provide some utils, however...
To move the table-data, lookup SELECT INTO and INSERT INTO on the web. There's a lot of options to clear a table. You could "DROP" it then "SELECT (*) FROM TemplateTable where 1=2", or use CREATE TABLE. I think with the right "connection string"s, you can move data across .MDBs.
Your COUNT question was pretty basic - sounds like you need to do a bit of homework - and the web is full of great SQL examples.
Luck/Cheers.
05-15-2006 01:41 AM
Hi
What also could be not to forget is to compress the database. Although I did not make the experience because I do not have to delete data from the databases, I heard of Access databases which were not smaller after deleting data and needed to be compressed.
Thomas
05-15-2006 08:13 AM
05-15-2006 08:20 AM
05-16-2006 09:43 AM
05-16-2006 10:06 AM
05-16-2006 10:07 AM
Personally, I wouldn't use Access for anything. SQL Server, Oracle, MySQL, are much more robust. I currently use SQL Server to store test results. It also contains numerous other tables and is several orders of magnitude larger than 200 MB. SQL Server and Oracle can get to be kind of expensive so if you are looking for something cheap and robust, try MySQL.
However, you may want to look closer at the overall design of the database. There is a design methodology called normalization that will give you the greatest effeciency in database usage. One thing you want to verify is that you never have an empty column in a row. For example, I use TestStand and I have a mix of numeric, string, and Boolean test results. Instead of having a row that has columns for each type, there are separate linked tables for each type of result. I have, in the past, seen on-line references to databse design but I don't have any links to provide. Try googling "database design recomendations" or something similar and see what you can turn up. I have the help of individuals in our IS department who are much more capable than I am. If such a resource is available to you, by all means take advantage of it.
05-17-2006 03:34 AM
Hi Golden,
You might consider using one of the DBs Dennis mentioned as the "back-end", and use MSAccess as the "front-end." I also used SQL Server to store [test] data - you'll love TSQL & stored procedures - but MSAcess seemed like the most practical way to put a pretty GUI on the data. Honestly, I'm early in this process, so may be wrong.
Cheers.
05-17-2006 08:59 AM