t-sql count of rows where code example
Example: To count number of rows in SQL table
SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';
SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';