Adding statistics for all columns with update all statistics

To create or update statistics on all columns in a table, use update all statistics. The syntax is:

update all statistics table_name