Pages

Men

rh

4/24/2013

How to get the columns count from Table in SQL Server

SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema = 'dbo' AND table_name = 'TableName'

No comments :

Post a Comment