Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Help with CLR stored procedure
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Theresa37
Starting Member

1 Posts

Posted - 12/14/2013 :  19:13:34  Show Profile  Reply with Quote
Hi, please somebody help me with this store procedure. I am very confused. This is a CLR stored proc. I understand the basic is using a vb 'RODAssembly'. But what does exactly each line mean? I know this is rather basic, but didn't find help documents online.

exec sys.sp_addextendedproperty @name = N'AutoDepolyed', @value = N'yes',@level0type = N'Schema',@level0name = N'dbo',
@level1type = N'Procedure',@level1name = N'SendMessageWithPriority'
go

exec sys.sp_addextendedproperty @name = N'SqlAssemblyFile', @value = N'RODAssembly.vb',@level0type = N'Schema',@level0name = N'dbo',
@level1type = N'Procedure',@level1name = N'SendMessageWithPriority'
go

exec sys.sp_addextendedproperty @name = N'SqlAssemblyFileLine', @value =26,@level0type = N'Schema',@level0name = N'dbo', @level1type = N'Procedure',@level1name = N'SendMessageWithPriority'
go

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 12/16/2013 :  03:56:01  Show Profile  Reply with Quote
This is just adding extended property values for the procedure dbo.SendMessageWithPriority indicating which assembly it used, automdeployed status etc

http://msdn.microsoft.com/en-us/library/ms180047.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000