Data Modelling Using Sql Spool Command Not Working