Matt's answer works.
Or you can use the VFP call SQLTables() to get a list of tables, then
loop through there, executing SELECT COUNT(*) FROM {tablename} to get
the record counts.
On Sun, Apr 5, 2015 at 2:37 PM, Jeff Johnson <[email protected]> wrote:
> Gang, this SQL Server I was talking about the last few days appears to have
> 1025 tables! My question, is there a way to query the database to see how
> many records a table has?
>
> For example, out of 1025 tables there are only about 75 - 100 that have
> pertinent data in them. Can I do a query to tell me which ones have data?
>
> TIA
>
> --
> Jeff
>
> Jeff Johnson
> [email protected]
> SanDC, Inc.
> (623) 582-0323
> SMS (602) 717-5476
> Fax 623-869-0675
>
> www.san-dc.com
> www.cremationtracker.com
> www.agentrelationshipmanager.com
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/CACW6n4tqUaRtO2V-mf29_4-hmdpLv+Cwnf44MwETR=gqjln...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.