Invoking C # class application instances in SQL

Source: Internet
Author: User

This article will share a method in a C # class is called in SQL Server. That's it. I in the. NET program to manipulate data in some field data encryption, which is common to many systems, one of the Delphi program also need to use, and need to decrypt the data, because I in the. NET encryption in a more special way, in the Delphi program decryption is more cumbersome and to consume a lot of time, so have to let Sqlser Ver calls the assembly in a way that resolves the problem. For specific reference . net/c# Course [4]:SQLServer Basic application Development Tutorial.

The following is just an example of sticking out to share.

Create a Dll,class, code such as below:

650) this.width=650; "src=" http://183.61.143.148/group1/M00/02/5A/tz2PlFRCEVOASpQnAABGkMYsbig515.jpg "/>

onto the database server.

then run the following T-SQL code:

650) this.width=650; "src=" http://183.61.143.148/group1/M00/02/5A/tz2PlFRCEWqQriTAAADrOHE_3og829.jpg "height=" 637 "Width=" 453 "/>

You can then call this function in T-SQL.

The code is as follows:

650) this.width=650; "src=" http://183.61.143.148/group1/M00/02/5A/tz2PlFRCEZrRyT2WAAARojjuZus844.jpg "/>

the above is a personal summary of some of the content can refer to, want to learn more Database Tutorials knowledge can be landed on E mentor Network.


This article is from the "Add Language" blog, please make sure to keep this source http://yuguotianqing.blog.51cto.com/9292883/1565804

Invoking C # class application instances in SQL

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.