Bug fix: Generated query for obtaining table schema in sqlsrv incorrect (Bug #565)