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 4b9d8ed commit 0b8de94Copy full SHA for 0b8de94
1 file changed
plugins/generic/custom.py
@@ -38,7 +38,7 @@ def sqlQuery(self, query):
38
sqlType = sqlTitle
39
break
40
41
- if "OPENROWSET" not in query.upper() and (not sqlType or "SELECT" in sqlType):
+ if not any(_ in query.upper() for _ in ("OPENROWSET", "INTO")) and (not sqlType or "SELECT" in sqlType):
42
infoMsg = "fetching %s query output: '%s'" % (sqlType if sqlType is not None else "SQL", query)
43
logger.info(infoMsg)
44
0 commit comments