using sp_statistics for the first time

  • I'm trying this command base on what I have read on the help collection of SQL server 2008

    USE AdventureWorks2008

    GO

    sp_statistics @table_name = Employee

    GO

    I receive the result sets in the Results pane but no data under any column

    What do I do wrong?

  • You need to also pass in the owning schema of the table as @table_owner.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

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

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