NOJIRA Fix several failing SQLServer tests after bind-params patch

The fix amounted to wholesale copy/pasting of the Postgres staging
table code.