M
MikeB
If I run this query:
SELECT Count([Bid].[key]) AS Bids
FROM Bid;
I get a query with one field in one row telling me how many records
there are in that table. So I'd like a query telling me how many fields
there are in each of the tables in my data base.
Then I think the query should look like this:
SELECT Count([Bid].[key]) AS Bids, Count([Group].[key]) AS Groups,
Count([Listing].[key]) AS Listings, Count([Loan].[key]) AS Loans,
Count([Member].[key]) AS Members
FROM Bid, [Group], Listing, Loan, Member;
However, that query never completes. Literally not overnight. Even if I
try it on only two of the tables, I just never get a response. Am I
doing something bad like a cartesian join?
I've tried this, but it simply crashes my Excel XP (2002?) without so
much as a message:
SELECT Count([Bid].[key]) AS Bids;
or
SELECT Count([Bid].[key]) AS Bids, Count([Group].[key]) AS Groups,
Count([Listing].[key]) AS Listings, Count([Loan].[key]) AS Loans,
Count([Member].[key]) AS Members;
Please enlighten me.
SELECT Count([Bid].[key]) AS Bids
FROM Bid;
I get a query with one field in one row telling me how many records
there are in that table. So I'd like a query telling me how many fields
there are in each of the tables in my data base.
Then I think the query should look like this:
SELECT Count([Bid].[key]) AS Bids, Count([Group].[key]) AS Groups,
Count([Listing].[key]) AS Listings, Count([Loan].[key]) AS Loans,
Count([Member].[key]) AS Members
FROM Bid, [Group], Listing, Loan, Member;
However, that query never completes. Literally not overnight. Even if I
try it on only two of the tables, I just never get a response. Am I
doing something bad like a cartesian join?
I've tried this, but it simply crashes my Excel XP (2002?) without so
much as a message:
SELECT Count([Bid].[key]) AS Bids;
or
SELECT Count([Bid].[key]) AS Bids, Count([Group].[key]) AS Groups,
Count([Listing].[key]) AS Listings, Count([Loan].[key]) AS Loans,
Count([Member].[key]) AS Members;
Please enlighten me.