Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

fast sql column count

SELECT
   Total_Rows= SUM(st.row_count)
FROM
   sys.dm_db_partition_stats st
WHERE
    object_name(object_id) = 'PUMP' AND (index_id < 2)
 
PREVIOUS NEXT
Tagged: #fast #sql #column #count
ADD COMMENT
Topic
Name
6+4 =