Skip to content
Permalink
Browse files

missing space

  • Loading branch information
vcloarec authored and wonder-sk committed Jan 11, 2021
1 parent b9005cb commit e6a2e1f6f366b03e00fdb14afd543965eea46678
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/mssql/qgsmssqlconnection.cpp
@@ -526,7 +526,7 @@ QString QgsMssqlConnection::buildQueryForSchemas( const QString &connName, bool

if ( allowTablesWithNoGeometry )
{
query += QStringLiteral( "UNION ALL \n"
query += QStringLiteral( " UNION ALL \n"
"SELECT sys.schemas.name, sys.objects.name, null, null, 'NONE', case when sys.objects.type = 'V' THEN 1 ELSE 0 END \n"
"FROM sys.objects JOIN sys.schemas ON sys.objects.schema_id = sys.schemas.schema_id "
"WHERE NOT EXISTS (SELECT * FROM sys.columns sc1 JOIN sys.types ON sc1.system_type_id = sys.types.system_type_id WHERE (sys.types.name = 'geometry' OR sys.types.name = 'geography') AND sys.objects.object_id = sc1.object_id) AND (sys.objects.type = 'U' or sys.objects.type = 'V')" );

0 comments on commit e6a2e1f

Please sign in to comment.
You can’t perform that action at this time.