conn str fix for SqlProgrammability

unit test for Scalar Valued Function