CORE-1553 : escape table name in MS SQL specific query

Fix for [CORE-1553] [1] : extract local variable for escaped table name and use it in query

[1]: https://liquibase.jira.com/browse/CORE-1553