Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Get Record count of all tables of current database

    Ok for small db's but this is lightning quick and avoids cursors/looping...

    select o.name, i.rows

    from sys.sysobjects o with (nolock)

    join sys.sysindexes i with (nolock)

    on o.id = i.id

    where i.indid < 2

    order by i.rows...

Viewing post 1 (of 1 total)