Before you create or alter precomputed result sets, verify that a number of session set parameters are set correctly
set ansinull – on
set arithabort – on
set arithignore – off
set string_rtruncation – on