Murray Brown
asked on
VB.net Count Columns in an Access table
Hi
What VB.net code would I use to count the number of columns in an Access table?
Thanks
What VB.net code would I use to count the number of columns in an Access table?
Thanks
ASKER
Hi
I connect to the database via a connection string so am looking for SQL code to do this
I connect to the database via a connection string so am looking for SQL code to do this
Hi,
pls try
pls try
SELECT COUNT(*) AS ColumnCount
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME='tablename';
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks very much
pls try
Open in new window
Regards