Skip to content

Instantly share code, notes, and snippets.

@huguogang
Created August 18, 2010 19:17
Show Gist options
  • Save huguogang/535846 to your computer and use it in GitHub Desktop.
Save huguogang/535846 to your computer and use it in GitHub Desktop.
IF EXISTS (SELECT * FROM sys.assembly_modules WHERE assembly_class='ConcateAll')
BEGIN
DROP AGGREGATE dbo.ConcateAll
END
IF EXISTS (SELECT * FROM sys.assemblies WHERE name='SQLCLR')
BEGIN
DROP ASSEMBLY [SQLCLR]
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment