Determine the Status of a Shrink Operation

Use the shrinkdb_status function to determine the status of a shrink operation.

The syntax is:
 shrinkdb_status(database_name, query)
For example, to determine the status of the shrink operation on the pubs2 database, enter:
shrinkdb_status("pubs2", "in_progress")