Sql errors with Spectrum/eHealth Integration