Sql/ODBC: Fixed MSSQL issues

git-svn-id: svn://ultimatepp.org/upp/trunk@7773 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-10-13 11:40:07 +00:00
parent c11d899cb9
commit 2ec423cd7c
2 changed files with 20 additions and 7 deletions

View file

@ -307,7 +307,9 @@ SqlWith& SqlWith::With(SqlId table)
SqlWith& SqlWith::WithRecursive(SqlId table)
{
text << (text.GetCount() ? ", " : "with ") << "recursive " << table.Quoted();
text << (text.GetCount() ? ", " : "with ")
<< SqlCase(MSSQL, "")("recursive ")
<< table.Quoted();
args = false;
return *this;
}