Update statistic for all tables of the database Use command: update statistics [$lvsqw_Owner].[$lvsqw_TableName] with fullscan, all