| | |
| | | select * from lf.sys_meta where id in (1523,1529,1525); |
| | | select * from lf.sys_meta where type='gdb' or position('gdb' in name) > 0; |
| | | |
| | | select st_astext(geom) from bd.b_borehole limit 10; |
| | | select count(*) from bd.b_borehole -- 357824 |
| | | select * from bd.b_borehole limit 10; |
| | | |
| | | select * from lf.sys_layer order by id desc; |
| | | |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | ---------------------------------------------------------------------------------------------- -1.更新钻孔 |
| | | select count(*) from bd.b_borehole; -- 357824 |
| | | select count(*) from lf.sys_attach; -- 357880 = 56 + 357824 |
| | | select * from bd.b_borehole limit 10; -- 基础钻孔 |
| | | |
| | | |
| | | -- update bd.b_borehole set path = 'Drill\' || path; |
| | | -- insert into lf.sys_attach (name, guid, path, tab, tab_guid) |
| | | select substr(path, length(path) - position('\' in reverse(path)) + 2), eventid, path, 'bd.b_borehole', eventid from bd.b_borehole; |
| | | ---------------------------------------------------------------------------------------------- 00.SQL查询 |
| | | insert into lf.sys_meta_pub (metaid, pubid) select 1, 1 from (select 1) temp where not exists (select 1 from lf.sys_meta_pub where metaid = 1 and pubid = 1); |
| | | |