reverting back to NVARCHAR because of error technique

This commit is contained in:
Miroslav Stampar
2011-04-20 12:59:23 +00:00
parent 3607f03a9e
commit e4d3190f41
3 changed files with 5 additions and 3 deletions

View File

@@ -181,4 +181,6 @@ class xp_cmdshell:
debugMsg += "output to"
logger.debug(debugMsg)
self.createSupportTbl(self.cmdTblName, self.tblField, "TEXT")
# TEXT can't be used here because in error technique you get:
# "The text, ntext, and image data types cannot be compared or sorted"
self.createSupportTbl(self.cmdTblName, self.tblField, "NVARCHAR(4000)")