• @julien : i ran the script on sql server 2008, worked fine for me.