<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div dir="auto">
<div dir="auto"><br></div>That is, I guess, because sqlite 'uses dynamic typing. <span class="atOwb UMOHqf">It does not enforce data type constraints</span>. Data of any type can (usually) be inserted into any column. '?<div dir='auto'><br></div>
<div id="aqm-original" style="color: black;">
<div dir="auto">On October 6, 2021 5:25:47 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:</div>
<div><br></div>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="auto">I learned something surprising this morning using a combination of the GUI</div>
<div dir="auto">management window's map 'display table attributes' and db.execute.</div>
<div dir="auto"><br></div>
<div dir="auto">The two adjacent bathymetric point files imported with a Z-int column with</div>
<div dir="auto">type double precision for the integer depths. However, the depth values</div>
<div dir="auto">displayed are in double precision format (ending in .00).</div>
<div dir="auto"><br></div>
<div dir="auto">I added a new column, depth_int (type int), and copied (using SQL's 'alter</div>
<div dir="auto">table') the Z-int double precision values to the depth_int column, then</div>
<div dir="auto">deleted the Z-int column. The GUI's attribute table management dialog</div>
<div dir="auto">confirmed that the depth_int is of type integer.</div>
<div dir="auto"><br></div>
<div dir="auto">After re-displaying these maps the depth values are still double precision</div>
<div dir="auto">while the column data type is integer. Oh well.</div>
<div dir="auto"><br></div>
<div dir="auto">Rich</div>
<div dir="auto"><br></div>
<div dir="auto">_______________________________________________</div>
<div dir="auto">grass-user mailing list</div>
<div dir="auto">grass-user@lists.osgeo.org</div>
<div dir="auto">https://lists.osgeo.org/mailman/listinfo/grass-user</div>
</blockquote>
</div><div dir="auto"><br></div>
</div></body>
</html>