In SQL Server we can query the sys.parameters
system catalog view to return all parameters that belong to user-defined objects.
For system objects, we can query the sys.system_parameters
view. We can alternatively query the sys.all_parameters
system catalog view to return all parameters that belong to either user-defined or system objects.