<div dir="ltr"><div>Hi, <br></div><div>you can define a SQL filter before loading the dataset, that woudl help a lot. You can inject a bbox filter for instance or any attribute where clause. That should do the trick. <br></div><div>Régis<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 9 juil. 2019 à 18:03, magerlin <<a href="mailto:MAP@ramboll.dk">MAP@ramboll.dk</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I need to use a small part of a huge MS Sql database (data on *ALL* buildings<br>
in Denmark!).<br>
<br>
As far as I can see I can only try to load the whole database (using "add<br>
layer") before I do any querying?<br>
<br>
And this is a no go I can see.......<br>
<br>
<br>
<br>
-----<br>
Regards Morten<br>
<br>
Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel<br>
Windows 7, 64bit<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>