I've got Python code on QGIS 3.12 that adds a MS SQL Server data layer to the map, but I need to add all of them.
uri = QgsDataSourceUri()
uri.setConnection(r"xx.xxx.xxx.xx\xxx", "xxxx", "xxx", "xxxx", "xxxx")
uri.setDataSource("000001","lcentro", "geom","")
uri.setSrid('31982')
vlayer = QgsVectorLayer(uri.uri(),"Roads","mssql")
QgsProject.instance().addMapLayer(vlayer)
So I can't figure out how to do it for all the geometry tables.
