Postgresql Function Insert Into Values Sql Server