safe way to do updates
I have a database where many tables have many indexes and as a result different updates can get tangled up and deadlocked. So here's my question. Is it guaranteed safe, so that I will get blocking...
View Articlewhere is statistics histogram info stored
When I do a dbcc show_statistics with histogram I get a histogram table. In what view/table is this info stored? Is the table/view accessible through tsql?thanksoldmandba
View ArticleSQL Server 2000 Database in "single user mode"
Hi all,I've an old production database server with SQL Server 2000 SP4, that runs from 6 years. Now sometimes I find that the production database goes in "single user mode". Why? My error logs don't...
View Articlewait_time in sys.dm_exec_requests is negative.
Please let me know why i am getting wait_time values -801668467,-801666780,-801692889 etc. when i execute sys.dm_exec_requests on sql server 2005 SP4.Manish
View Articleorphaned user
Hi all,i know how to troubleshoot sql server orphaned users when i migrate database one server to another server.like that how can i troubleshoot windows orphaned users when i used windows...
View Articlesecurity
hi all,what is difference between mixed authentication and windows authentication in ms sql server..?which scenario we can use mixed authentication and which scenario we can use windows authentication..?
View ArticleSQL server cluster
Can someone help me understand cluster? we have two nodes for the cluster. each cluster we installed two sql instances, one is prod, one is qa. Does it mean we have total 4 instances installed, or only...
View ArticleMonitor ressource governor workload group fails as data collection ?
Hi all, I set up ressource governor in sql 2008 r2. Am able to monitor cpu usage % per workload group live. When I add "\SQLServer:Workload Group Stats (*)\CPU usage %" into a data collection no data...
View ArticleSQL Server 2008 R2 stopped working
I've been using SQL Server R2 in my Windows 7 64 without any broblem. But today When I realized that my reporting services is not running, then I saw that SQL Server service is stopped. When I tried to...
View Articleidentifying locks or queries with longer locks
Hi,How can I identify longers locks in a database?is it possible to validates which locks (row, page or table level) will be used by specific queries / views? (is the execution plan identify this?)the...
View Articlegetting FetchBufferTokenHandler: Encountered unexpected unknown token (0x30)...
SEVERE [com.microsoft.sqlserver.jdbc.internals.TDS.TOKEN] (pool-27-thread-7) ConnectionID:1: FetchBufferTokenHandler: Encountered unexpected unknown token (0x30) SEVERE...
View Articlesql server 200
i am using sql server on windows server 2003....i cannot add new user to my sql server as odbc connection...if i re install old user computer it is not possible too...only maintain the existing user...
View ArticleSSMS- Error while Modify Sql Agent Job error?
I am trying to modify the Sql agent job. That time i am getting the below error.SQL Server 2005 SP4.TITLE: Microsoft SQL Server Management Studio ------------------------------Value of '120' is not...
View ArticleIs it possible to rename the Instance of My Sql server ?
Hi, I just want to ask if it is possible to reanme my instance of my sql server.This is the nameJEMZ-PC\SQLEXRESS AND i want to be change like this JEMZ-PC\SQLENTERPRSE.. is this possible?Thank you...
View ArticleHow to recycle tempdb without Rebooting Sql Server
We have an App server where Microsoft reporting services (report Builder 2005) is hosted and the backend Database server which is used by the reporting services.The clients create very complex reports...
View ArticleHow to backup report files from report server
My current SQL Server 2008 R2 is expired (eval period). So as a consequence report server is blocked and down as well. I want to reinstall SQL Server 2008R2, but I'm afraid I will lose all my rdl files...
View Articlecompare data
Is there a tool that I can use to compare data in a SQL server database table with a table in Oralce?THanksSQLFriend
View ArticleWaits for Page Allocation
Hi Everybody,I have a question. Let's assume that we have multiple threads trying to Insert data into the same partition of a table. The Insert statement will be similar to:INSERT INTO DESTINATIONTABLE...
View ArticleAppropriate use for Snapshots
Hi All,I have a SQL database that I would like to snapshot every night. The data in the database is fairly static and the reason I'm taking a nightly snapshot is to show the change in data from one...
View Articlefail over cluster
We have an Active-Passive SQL Server 2008 Failover Cluster installed. Front end is sharepoint. They have two instances on each cluster, one instance is named prod_mssqlserver, the other is for...
View Article