Hi Guys,
Here is a problem I am trying to solve and keep running into roadblocks:
I need to access information from two SQL Servers(physically separate servers), merge the results and send them to the client. I would prefer to code this as a SQL Server process if possible. I am allowed to write stored procedures in only one of them. Linked-servers is not an option.
I was trying to solve my problem by writing a .Net snippet to access the data from the server which am not allowed to write SPs in and then using this as a CLR object from an SP in the SQL Server over which I have control. I was hoping this would work but it does not since I think SQL Server does not like the fact that it is trying to access another server from within its context. I am stamped the assembly with PERMISSION_SET=EXTERNAL_ACCESS(which I was able to do after signing the DLL - which is a whole another process).
This is an architectural as well as a technical problem.
1) Am I doing the right thing while trying to solve my issue?
2) Is there other solutions to this problem?
Thanks a lot for all your feedback in advance.
A
Here is a problem I am trying to solve and keep running into roadblocks:
I need to access information from two SQL Servers(physically separate servers), merge the results and send them to the client. I would prefer to code this as a SQL Server process if possible. I am allowed to write stored procedures in only one of them. Linked-servers is not an option.
I was trying to solve my problem by writing a .Net snippet to access the data from the server which am not allowed to write SPs in and then using this as a CLR object from an SP in the SQL Server over which I have control. I was hoping this would work but it does not since I think SQL Server does not like the fact that it is trying to access another server from within its context. I am stamped the assembly with PERMISSION_SET=EXTERNAL_ACCESS(which I was able to do after signing the DLL - which is a whole another process).
This is an architectural as well as a technical problem.
1) Am I doing the right thing while trying to solve my issue?
2) Is there other solutions to this problem?
Thanks a lot for all your feedback in advance.
A