<div dir="ltr">Hi,<div>if I run</div><div><br></div><div>ogr2ogr -f CSV /vsistdout/ data.gdb -sql "<br>SELECT OBJECTID from table_EDF_IS limit 1"<br><br></div><div>I have</div><div><br></div><div>OBJECTID,<br>"1"<br><br>Instead, if I run<br><br>ogr2ogr -f CSV /vsistdout/ data.gdb -dialect sqlite -sql "</div><div>SELECT OBJECTID from
table_EDF_IS limit 1"<br><br>I have this error<br><br>ERROR 1: In ExecuteSQL(): sqlite3_prepare_v2(SELECT OBJECTID from
table_EDF_IS limit 1): no such column: OBJECTID</div><div><br></div><div>What's the way to use sqlite dialect and select OBJECTID/FID field?</div><div>If I use ogrinfo I have "FID Column = OBJECTID"</div><div><br></div><div>I'm using GDAL 3.8.0dev-c95490018a, released 2023/07/21 </div><div><br></div><div>Thank you,</div><div><br></div><div>Andrea<br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>