SQL '08 R2 SP1 MSDB marked as SUSPECT
The drive our SCCM sql database resides on went south earlier in the week. I recreated the drive (Vmware VM) and we restored the data from our back up software (commvault). However when I try to open...
View ArticleNot all colums are getting updated with "WITH (ROWLOCK)" is used in a update...
Hi we are using following query in our code ; except DESC1 all other values are getting updatedSTATEMENT : "Update Table1 with (ROWLOCK) set DESC1 = ?, DESC2 = ?, INSTR =?, GRP =? where ID = ? "Can you...
View ArticleSql 2008: sleeping thread,open transaction, open locks......
I can see from sp_who2, dbcc opentran, dbcc inputbuffer, etc that our sql server has some sleeping connections that are holding open transactions (along with some X locks) for long periods of time....
View ArticleWhen rows get inserted into sys.dm_db_missing_index_details
Hi Experts, I am looking for MISSING INDEXES, I am tring to find all missing indexes in my database for that I am using sys.dm_db_missing_index_details view. I would like to know about case or...
View ArticleData Conversion error in Azure SQL Server 2008 R2
Hi,I have two Azure envirironment (Staging and Test), both have same configuration as below:Version: Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) Apr 2 2010 15:48:46 Copyright (c)...
View ArticleIssue for listening Sql Server on non default port? Not able to connect from...
Hi All,I have setup a lab environment for SharePoint 2013 farm. There is a windows server 2012 domain controller, a separate database server and a application server.I have installed only named...
View ArticleFile System Failure DB Recovery
I have had a file system failure corrupt a .ndf file in a database. I do not have good backups, I'm sorry, it's just not possible at this time. There are plans to migrate off of this old...
View ArticleOne database out of several is slow on server - SQL Server 2008 r2
Hello,We are using SQL Server 2008 r2. We have a server with several dbs on it. As of a couple of hours ago one of the dbs started running REALLY slow. Prevents users from accessing data when they...
View ArticleSSIS the timeout period elapsed prior to completion of the operation
Hi allone day I have a database backup job full backup using maintenance plan, there is an error....Executed as user: SV123\SYSTEM. ...sion 10.50.2500.0 for 32-bit Copyright (C) Microsoft Corporation...
View ArticleBackup Plan
I have three SQL Server 2005 instances using Transactional replication. They are all in Simple Recovery mode. I have a daily full back up and hourly differentials running on a subscriber. I also...
View ArticleError in database attach Error code:5105
Hi, While attaching Database Error throws as below...Pls help me to overcome this..... Error in attaching Database in sql 2000 Error 5105 Device Activation Error ,The physical file name...
View ArticleLock:Timeout
Hi,I'm using lock:timeout in SQL Profiler and traces and would like to identify moments where the user application stops because a lock:timeout.There is lock:timeout and lock:timeout (>0). Following...
View ArticleHow many recursions finished already?
Hello,My recursive CTE query is dealing with quite massive data volume (tens of millions of records) and there could be up to 3.5k iterations thus the query is running for many hours. Naturally, this...
View ArticleError when restoring the file .bak (created in SQL 2005) in SQL Server 2012 ?
Hi everyone,I am trying to import a .bak file (created by SQL Server 2005) into SQL Server 2012, but not successfull.Could you please tell me how to do that ?Thank you very much.Tai
View ArticleHow to Sum multiple Column with multiple value with SQL?
I am looking for a solution to the following: Go in to the users table and find a user who has listed items on the site. In this users table, there is no column about auctions. Instead, it is...
View ArticleHow to generate event to be captured by the SQL Audit
I have a server audit specification that track some actions (for PCI) including FAILED_LOGIN_GROUP, LOGIN_CHANGE_PASSWEORD_GROUP etc. I see in the audit file many recent login fails audits (which means...
View ArticleHow data is populated in various DMVs
Hi All,I have been using different DMVs everyday as part of my DBA activities. Suddenly i got a question" from where the data is manipulated in the DMVs and DMFs? What is that internally happening...
View ArticleSQL Linked Server Provider for COBOL
Working with SQL 2008 or 2012, I have a legacy COBOL dbms to which I need to connect via SQL Server. I'm thinking I need to set up a linked server but I don't have the appropriate provider to...
View Articlesql server scale out with distributed partitioned views
Hi. Our company manages an online auction and shopping website(something like ebay), and I have questions regarding to scaling out solutions. we are running Sql Server 2008 R2 Enterprise edition(which...
View Article