sys.dm_clr_properties


sys.dm_clr_properties: Returns a row for each property related to SQL Server common language runtime (CLR) integration, including the version and state of the hosted CLR.

Enabling CLR using SP_Configure doesn’t gurantee that it is initialized. To initialize CLR, you have to execute ASSEMBLY statements, CLR Routine Type or Trigger.

See below image for the output of this DMV.


Below are the different state of CLR.

  • Mscoree is not loaded.
  • Mscoree is loaded.
  • Locked CLR version with mscoree.
  • CLR is initialized.
  • CLR initialization permanently failed.
  • CLR is stopped

Check http://msdn.microsoft.com/en-us/library/ms174983.aspx link for different CLR state description.

Advertisements

2 thoughts on “sys.dm_clr_properties

Thanks for the comment, will get back to you soon... Jugal Shah

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s