Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed40f18 commit bd33128Copy full SHA for bd33128
1 file changed
lib/core/common.py
@@ -2759,7 +2759,7 @@ def safeSQLIdentificatorNaming(name, isTable=False):
2759
elif Backend.getIdentifiedDbms() in (DBMS.MSSQL,):
2760
retVal = "[%s]" % retVal.strip("[]")
2761
2762
- if _ and DEFAULT_MSSQL_SCHEMA not in retVal:
+ if _ and DEFAULT_MSSQL_SCHEMA not in retVal and '.' not in re.sub(r"\[[^]]+\]", "", retVal):
2763
retVal = "%s.%s" % (DEFAULT_MSSQL_SCHEMA, retVal)
2764
2765
return retVal
0 commit comments