Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8905.0" />

.NET API 5,152,136 bytes

 CreateStatisticsStatement

Represents the create statistics statement.

The columns of the table or view that are relevant to the statistic.

public BooleanExpression FilterPredicate { get; set; }

Optional filter predicate for CREATE STATISTICS statement.

public Identifier Name { get; set; }

The name of the statistic.

public SchemaObjectName OnName { get; set; }

The table or view this statistic is on.

The statistics options.