Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Use CLR trigger to launch another .NET program

$
0
0

Hello,

I have a question, I am using SQL Server 2014 now, I have a small data table with only 1 field; I have one .NET program inserts some data records into the table, not very often.

I want to create a CLR trigger, each time when a new record is inserted into data table, the trigger calls another .NET program.  For the time being, let's say I have another C# program, just print "Hello World!" on screen.

So each time, if a new record is inserted into the data table, I want to see a "Hello World!' appear on the screen.

Let me know if it is possible, if so, please show me the code how to create such trigger.

Thanks,

John


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>