TD_UnivariateStatistics ( ON { table | view | (query) } AS InputTable [ PARTITION BY ANY ] USING TargetColumns ({ 'target_column' | target_column_range }[,...]) [ PartitionColumns ('partition_column' [,...]) ] [ Stats ('statistic' [,...]) ] [ Centiles ('percentile' [,...]) ] [ TrimPercentile ('trimmed_percentile') ] )
You can call this function from:
- The FROM clause of a SELECT statement
- As part of a CREATE TABLE statement
- As part of a CREATE VIEW statement