Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Tuesday, March 27, 2012

adhoc queries

Hello

We got third party software, we are using adhoc queries more for the Applications (i am checking the DB Dashboard, it is showing as 97% CPU for adhoc queries). Could any one suggest how to tune SQL Server (at server level) for adhoc queries, we can not change the code now.

Let me know how to improve the SQL Server, whenever 3rd party applications use adhoc queries more?

Thanks in advance.

You can use DTA for this.

http://msdn2.microsoft.com/en-us/library/ms186354.aspx

You will want to use sql profiler to capture a trace/workload for DTA.

address management software

Does anyone know of any address management software that is compliant with sql server 2000, i.e. for record duplication and address cleansing etc...
Thanks!any suggestions appreciated!sql

Thursday, February 9, 2012

Adding a Windows Authentication Login to the server from third-party software

I have an application in development into which I want to port some simple user management functionality. I have no problem getting lists of users/database roles/etc. and assigning users to roles as seeing fit, but one last function I cannot perform: replicating the "select windows user" dialog in the domain context of the server so that I have a user to add.

Is this possible with smo? or should I just give up on this angle and just attempt to use ActiveDirectory objects on the client machine and hope that the domain context is the same between the client and the sql server?Hi,

this one is not exposed from SMO, its done through the object picker wrapper:

http://dotnet.org.za/armand/articles/2453.aspx

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de