SQL Query from current selection

Idea created by forknuts on Jan 26, 2012
    It would be handy if ArcMap was capable of generating the appropriate SQL query for a selection already made e.g. if I manually select certain records for a validation process, being able to automatically generate SQL would enable me to return to the selection without requiring a selection layer or data export. A 'Save SQL' option could be placed in the Table Options drop-down menu, which would provide a dialogue requeting which field should be used for the SQL statement (if the user required a field other than the OBJECTID / FID field to be used).