How to query sql server database programatically, which is currently accessible using citrix receiver

陌路散爱 提交于 2020-01-06 04:03:48

问题


We are currently accessing a SQLServer database through citrix receiver. On clicking on SSMS Icon in citrx XENAPP website, an ICA file is being downloaded. On click of that ICA file, SSMS is getting opened. I am running queries using this SSMS manually.

We would like to run these queries programatically. Is there any possible way? I am ready to use any programming language.


回答1:


This depends on how the Database server instance is setup, how the server that it lives on is setup, and how the network is setup. You would need to speak with whomever is in charge of administration of the database server and ask them for direct access instead of access through the Citrix environment.

I work for a healthcare company, and we contract our EHR hosting to another company. We connect to it through a Citrix environment similar to what you are describing. Because the contract company runs the data servers we are only able to access the SSMS through the Citrix environment. This helps to ensure that our medical records are safe by limiting outside access to our EHR and PM databases. I suspect that this is the case with your situation, but that is something that you will need to discuss with the people who are in charge of access to the data source.



来源:https://stackoverflow.com/questions/37466105/how-to-query-sql-server-database-programatically-which-is-currently-accessible

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!