How to Create sqlclr in Visual Studio

Source: Internet
Author: User
Create sqlclr in.

 

In vs2005CubeMethod:
Step 1: VS create a project type-database-SQL server project.

 

 

Step 2: reference the database connection. If no connection is available, you can add a new connection.

Click Add new reference to add a new connection.

Step 3: Now you can add any of the User-Defined types (UDT), stored procedures, user-defined functions, aggregation, and triggers.

 

In vs2010, "Visual C # SQL CLR database project" is created ". For example.

 

 

 

Note:

(1) The stored procedures and functions created in the project will be re-compiled and refreshed on SQL Server after you press F5.ProgramSet.

(2) The stored procedures and functions created in vs2010 can be called through test. SQL in the test scripts folder. The call method is described in the remarks in test. SQL. The call result can be seen in the "output" Window of.

 

Note:ArticleIn vs2005 part of the content from: http://www.cnblogs.com/DavidFan/archive/2007/05/08/738557.html

 

 

-----------------------------------------------------------------------

Series of articles

Sqlclr enabling sqlclr getting started usage sqlclr creating methods in Visual Studio sqlclr creating stored procedures, user-defined functions, aggregation, triggers, and other methods in Visual Studio ()

 

 

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.