S 
		
								
				
				
			
		saarcarmi
Hi
How can I determine whether my code is ran from within the sql server
or not?
I want to write a block of code which opens a connection to the DB -
using a context connection if it resides in the SQL process and regualr
if it is not.
How could it be done?
Thanks saar
				
			How can I determine whether my code is ran from within the sql server
or not?
I want to write a block of code which opens a connection to the DB -
using a context connection if it resides in the SQL process and regualr
if it is not.
How could it be done?
Thanks saar