Sql Server change fill factor value for all indexes by tsql
I have to expoet my DB into a bacpac file to import it into Azure. When I try to export I get an error because any indexes have a fillFactor value. I've found how to set a fillFactor value for all indexes but I can't specify 0, the value have to be between 1 an 100. If I change the value in the management studio I can set it to 0. The problem is that I have got lots of indexes to change and I would like to change the fillFactor value to all of them trough tsql. Any ideas?. Thanks. This isn't a straight T-SQL way of doing it. Though it does generate a pure T-SQL solution that you can apply to