Intent lock blocked (blocked process report)
I have those queries which lasts 2 or 3 minutes causing shared locks in read committed mode.The goal of intent lock is to indicate a lower level lock exists on a table or a page to prevent other locks...
View Articleenable dedicated admin connection
HIEnable dedicated admin connection but getting like below error please advice meTITLE: Connect to Server ------------------------------ Cannot connect to ADMIN:DBSERVER. ------------------------------...
View Articlesys.dm_exec_describe_first_result_set returns wrong metadata for inline...
Hello everybody, i came across a strange behavior. Suppose to have a table (MyTable) with an identity column and then to create a simple function (MyFunction) that only returns "select *" from that...
View ArticleSQL 2016 data collections Server Activity report charts showing no data
On a SQL 2016 server the Server Activity History report from Data Collections is only returning data for some charts (Wait stats and memory usage). The other charts such as "SQL Server Activity" show...
View ArticleBest possible ways to disable index before insert operation and enable back...
Hi I'm planning to create a Non-clustered columnstore index on SQL Server 2014.But non clustered column store index is ready only and cannot perform DML operations, we need to disable before insert...
View ArticleMSSQL Server Generic
Hi,When i try to install SSL certificate on SQL Server 2012 i am getting this error:It was working fine before. Please help me what to do?
View ArticleComputing minimum and maximum for each id
Dear allI have a table in which for each record i have 3 or more rows of date time like below.how can i compute minimum and maximum of all times for each id? Table1id datetime1 x11 x21...
View ArticleDatabase Engine Tuning Advisor
What is the purpose of "Database Engine Tuning Advisor" and how to use it?
View ArticleSQL Server Service Pack not finding instance name and any features
I am trying to install SQL Server 2008 R2 service pack 3 but setup is not able to find any sql features installed.I also run SQL discovery report but it also comes blank.1) I have downloaded setup...
View ArticleNot able to take Differential backups
Hi,We have SQL 2008 R2 Enterprise edition. We have full DB/Txn log backups scheduled and they run fine. We have also scheduled differential backups which run at times and fails most of the time with...
View Articlefn_dump_dblog function causes system assertion check failure
Hi,I am trying to utilize the undocumented fn_dump_dblog function as part of a replication implementation. It works as expected on SQL 2014. But SQL 2016 yields the error below. Has anyone else...
View ArticleSQL Server Clustering
Hi All,I have two node cluster for SQL server consider "A" - as active and "B"-as PassiveI have manually pause "B" From Failover Cluster Manager and reboot B Node now in clustering got error Cluster...
View ArticleHow to identify SQL Server data changes in Databases and SQL Agent job changes?
Hi All We have SQL server 2014 BI version, and few databases on it.I have one database which we use for data warehouse, and it update only once during the day by a SQL Agent job.I want to find out a...
View ArticleSQL Server on Linux
Installed SQL Server Vnext on Linux Microsoft SQL Server vNext (CTP1) - 14.0.1.246 (X64) Nov 1 2016 23:24:39 Copyright (c) Microsoft Corporation on Linux (Red Hat Enterprise Linux Server 7.2...
View ArticleDatabase exception: SMux Provider: Physical connection is not usable [xFFFFFFFF]
Hello,In my application some time i will get below error message:Database exception: SMux Provider: Physical connection is not usable [xFFFFFFFF]. Unable to open a logical session...
View ArticleUnderstanding moving primary key clustered index to a new file group.
Hello,we are planning to move primary key clustered index to a new file group to save some space on primary file group. We are planning to use following command to move it to the new file group,CREATE...
View ArticleR In-Database scripting available on linux?
Is R In-Database scripting available on linux? I could successfully enable"Exec sp_configure 'external scripts enabled', 1",but on server restart the log says:2016-11-17 15:07:08.99 spid21s Error:...
View ArticleCreating SQL Alias for Sharepoint2013 AFTER farm installed - documentations...
Hello, I've seen similar posts but have not seen complete procedures on how to go about it. My problem: I have an existing *new* SP2013 farm (single server). After installation of farm we realized we...
View ArticleSERVER= Property in an Excel Connection String
I have the following property in my Excel Connection StringSERVER=RPDDEV_RPTThis is referencing an alias I suppose. Is there any way I can tell what that alias is referencing?I looked within SQL Server...
View Article