Re: How to Interrogate SQL Server Tables for Specific Values - Here's how to do it in MS Access



robboll (robboll@xxxxxxxxxxx) writes:
This is a very poor designed database which creates tables daily and
does not archive anything. As a result it has grown in excess of 65+
Gig in size. It literally has thousands of tables and the user could
not tell me the approximate date when the missing values were added.
That's when I thought of the MS Access routine that I have used in the
past that works great with MS Access (small DBs). I tried linking to
the SQL database and running it, but the workstation didn't have
enough horsepower to do anything with it.

As I almost said. "One tends to think that if you need to [do] this, your
database design might [not] be what it ought to be."

(Some words were missing.)

I will try your routine. Will it work with SQL Server 2000? This
looks great! Thanks for your help.

No, it will not work on SQL 2000 at all, as it uses several features
that were added in SQL 2005. In SQL 2000, you would need to run nested
cursors over the system tables.

You should always state which version of SQL Server you are using.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Total Newbie - Maintainenance of SQL Database
    ... If you are having a consultancy migrate/install this packaged solution then ... > exactly is involved in maintaining/supporting a SQL database? ... > intend to run on SQL server. ... > The only maintenance I do on the Access version is a scheduled nightly ...
    (comp.databases.ms-sqlserver)
  • RE: Event 3760 Error
    ... SQL Database 'STS_TSMAIL_1' on SQL Server instance ... Microsoft CSS Online Newsgroup Support ... <Source: Windows SharePoint Services 3 ... <SQL Database 'STS_TSMAIL_1' on SQL Server instance ...
    (microsoft.public.windows.server.sbs)
  • Re: Questions on a Database with Mass Data
    ... SQL server, how much involvement would I expect from our IT department? ... SQL Server 2005 learning resources (free online videos) ... FE to each BE and let a query to grab the specific data from a specific year ... I also heard that SQL database can handle the massive data. ...
    (microsoft.public.access.modulesdaovba)
  • The need to get around the 4000 character limit in varchar2
    ... I was approached by a developer this morning, who has a SQL server ... The SQL database has a few columns that are varchar columns, ... At this point I know of no way to migrate this data across to Oracle ...
    (comp.databases.oracle.server)
  • Creating/adding column description, not caption
    ... How do I get these descriptions back into my SQL Server 2000 database? ... I've generated the script and have made some changes to the SQL database, ... like changing the data types and sizes. ...
    (microsoft.public.sqlserver.dts)