您的位置:首页 > 数据库

ArcGIS现势数据查询统计SQL语句的两种构造方法

2017-01-12 16:48 337 查看
    从视图(_evw)中查询,相当于从历史表(_h)中查询的同时指定gdb_to_date为'9999/12/31 23:59:59'

    即

        select count(t.objectid) from dlg_k_cgy_roalk_evw t; 

也相当于

        select count(t.objectid) from dlg_k_cgy_roalk_h t where t.gdb_to_date = to_date('9999/12/31 23:59:59', 'yyyy/mm/dd hh24:mi:ss')
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息