ArcGIS Pro 3.1.1
Is there a way to get a FGDB database view's SQL definition using Python?
For example, I have a file geodatabase database view called TEST_TABLE_VW:
select objectid, case when type = 'NT' then 1 else 0 end as flag from test_table
Is there a way to assign that SQL text to a Python variable, print it, etc.?