def get_viable_datasets(self):
    table_query = 'SELECT schema_name(schema_id) as schema_name, t.name FROM sys.tables t ORDER BY schema_name;'
    view_query = "SELECT schema_name(schema_id) as schema_name, name FROM sys.views WHERE schema_name(schema_id) != 'sys'ORDER BY schema_name;"
    return structure_tables_views(self._execute_query(table_query), self._execute_query(view_query))
def get_viable_datasets(self):
    table_query = 'SELECT schema_name(schema_id) as schema_name, t.name FROM sys.tables t ORDER BY schema_name;'
    view_query = "SELECT schema_name(schema_id) as schema_name, name FROM sys.views WHERE schema_name(schema_id) != 'sys'ORDER BY schema_name;"
    return structure_tables_views(self._execute_query(table_query), self._execute_query(view_query))