C # One of SQL CLR,

Source: Internet
Author: User

C # One of SQL CLR,

When CLR is a public runtime, this article will briefly explain the process of compiling SQL StoredProcedures in c.

[STEP]

2.

3.

7. Open settings

8.

 

Note:
Delete method: When deleting an Assembly, you must first delete all the items that reference this Assembly.
Drop proc QueryQueueSP
Go
Drop assembly QueryQueue

Finally, deploy the CLR Stored Procedure:
Create proc stored procedure NAME as external name Assembly NAME in the database. Assembly NAME in the Assembly set (Class NAME). Program Method NAME.
NOTE: If your program has a namespace, write it as follows:
Create proc stored procedure NAME as external name Assembly NAME in the database. "program namespace. Assembly NAME in the Assembly set". Program Method NAME.
Demo create proc SSBSp as external name [SSBMonitor]. "AuthReceiver. SSBMonitor. Processor". [Go]

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.