<div></div>Hi,<br><br>I have created a database with spatialite_gui tool, the database has some spatial views created with a code like this<br><br>CREATE VIEW comunitorino AS<br>SELECT c.ROWID as rowid, c.cod_com, c.geometry<br>from comuni c;<br><br>INSERT INTO views_geometry_columns<br>    (view_name, view_geometry, view_rowid, f_table_name, f_geometry_column,read_only)<br>  VALUES ('comunitorino', 'geometry', 'rowid', 'comuni', 'geometry',1)<br><br>The view can be load in QGIS by 'add spatialite layer' button<br><br>The problem is that if I use DB Manager and open the DB the view will not be seen as spatial view.<br><br>If I create the view in DB Manger with the "Create a view" button the view will be seen as spatial view.<br><br>Where is the mistake?<br><br>Thanks<br><br>Enrico<br><br><br><br><br><br><br><br>