Oracles Analyze Table statement equivalent ?

  • Hi,

    Below is an Oracle query used for cost optimization purpose :

    analyze table test estimate statistics sample 2500 Rows;

    Is there any equivalent for the above in SQL Server ?

    Please advice,

    Thanks,

    ShivSam

  • I believe what you're looking for is: UPDATE STATISTICS test WITH SAMPLE 2500 ROWS

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

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