SDE Lineages count and some commands
Connect as sde login in your database through Sql
sql> SELECT COUNT(*) FROM sde.state_lineages WHERE lineage_name NOT IN (SELECT DISTINCT lineage_name FROM sde.states);
Versions names and State_ID
SELECT name, state_id FROM sde.versions;
States count
SELECT COUNT(*) FROM sde.states;
sql> SELECT COUNT(*) FROM sde.state_lineages WHERE lineage_name NOT IN (SELECT DISTINCT lineage_name FROM sde.states);
Versions names and State_ID
SELECT name, state_id FROM sde.versions;
States count
SELECT COUNT(*) FROM sde.states;
Comments