Exec Console using TSQL SP?

I have a console application (in C #) for reading data from an SQL server (Microsoft SQL 2005) and writing data to an SQL server. Now I need to add a trigger to the table to start the console application when any data row is changed.

Not sure which SP on a Microsoft SQL Server (2005) launches a console application? and how can I pass the result from the application? Will they be run as synchronous or asichi estates? Is there any resolution issue that I have to configure?

+3
source share
5 answers

, . , xp_cmdshell CLR. Service Broker SEND , , .

+5

xp_cmdshell , .

#, , SQLCLR?

+3

. , ? , , , . , , .

? , , SQL.

+1

, . - , .

, , , , .

, , [LastUpdatedDateTime] GetDate(), . . , .

0

, , . SQL-, ? , / , .

0

Source: https://habr.com/ru/post/1711945/


All Articles