Error

Tag: error

Truncate Table with Partitions Fails if You Have Non-Aligned Indexes

Truncate Table with Partitions Fails if You Have Non-Aligned Indexes

on March 22, 2016

Category: indexing

SQL Server 2016 brought in a cool new little feature for table partitioning: you can now truncate individual partitions. There’s one little gotcha, though: you can only do this if all the indexes on the tables are “aligned”.

Continue reading

Error Configuring DataCollector: A collection set cannot start without a schedule

Error Configuring DataCollector: A collection set cannot start without a schedule

When setting up data collection using the GUI, configuration failed halfway through setup. At the pointΒ  of failure I found there were SQL Agent jobs for collections visible, but nothing appearingΒ  in Management Studio under Management\Data Collection. The Data Collection icon still had the ‘off’ down red arrow. (I manually refreshed it for good measure to make sure.)

Continue reading