I'm looking for a processing tool or virtual layer to do this:
I have a table without geometries with lots of fields (mssql), including a cadastral reference. There is a database (with geometries) from another provider that includes the cadastral reference and more fields, but I only need the geometry from this source.
I would like to get a new layer with all the attributes from the first table plus the geometry from the second database. I know how to do it with joins, but I need something more authomated because the second layer is updated several times a year. I've tried to get the geometry by expression with no success.