Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

Service Broker and Service Broker and is_trustworthy_on

$
0
0

I use the Service Broker to execute a stored procedure asynchronously simultaneously, using such a queue:

CREATE QUEUE MyQueue WITH STATUS=ON , RETENTION=Off , ACTIVATION (STATUS=ON, PROCEDURE_NAME=MyProcedure, MAX_QUEUE_READERS=3, EXECUTE AS Self);

When I insert a new item into the queue (using a Dialog/Conversation), the stored procedure is not initiated unless the database is_trustworthy_on definition is set to on (=1).

There are some risks in changing the is_trustworthy_on definition from its default value (Off=0) to On,
and I wonder if there is a way to avoid it.

Thanks in advance.


El castellano no es mi lengua materna. Discúlpenme por los errores gramaticales, y, si pueden, corríjanme en los comentarios, o por correo electrónico. ¡Muchas gracias! Blog: http://about.me/GeriReshef


Viewing all articles
Browse latest Browse all 461

Trending Articles



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