How to check for statistics information on the tables

  • Hi all,

    :).I have a table called table_a.i need to know the statistics information on this table.

    i checked like this

    ANALYZE table kiranaddress.table_a compute statistics;but it is not working

    here kiranaddress is my schema name.

    Can anyone suggest me correct syntax for computing statistics.

    Thanks,

    Kiran

  • Kiran,

    Try dbcc show_statistics.

    dbcc show_statistics('kiranaddress.table_a', )

    --you can supply statistics name or column name (assuming there are stats on the column you specify) in place of index_name.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply