diff options
-rw-r--r-- | odb/mssql/query.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mssql/query.cxx b/odb/mssql/query.cxx index faef6f7..b5b78d6 100644 --- a/odb/mssql/query.cxx +++ b/odb/mssql/query.cxx @@ -178,7 +178,11 @@ namespace odb s.compare (0, (n = 8), "GROUP BY") == 0 || s.compare (0, (n = 8), "group by") == 0 || s.compare (0, (n = 6), "HAVING") == 0 || - s.compare (0, (n = 6), "having") == 0) + s.compare (0, (n = 6), "having") == 0 || + s.compare (0, (n = 4), "EXEC") == 0 || + s.compare (0, (n = 4), "exec") == 0 || + s.compare (0, (n = 7), "EXECUTE") == 0 || + s.compare (0, (n = 7), "execute") == 0) { // It either has to be an exact match, or there should be // a whitespace following the keyword. |