Connecting to a SQL Server Named Instance, from remote client, outside network
Hi All,I have what I feel may be a newbie question.I am trying to connect Visual Studio SQL Server Object Explorer to a named instance of SQL server. The instance is sitting on a VM in Azure, and there...
View ArticleLogin failed for User (Microsoft SQL Server, Error:18456)
Hi,I am using SQL SERVER 2008. I was login through Windows Authentication and Unknowingly I havedeleted admin user (With name of my Computer e.g. "ABC-PC\ABC" ) under security=>Logins and restarted...
View ArticleTempdb file remove problem
Hi All. I am trying to remove one of the tempdb logical file alter database tempdb remove file tempdev2and have the following error:The file "H:\tempdb2.mdf" has been modified in the system catalog....
View ArticleModifying SQL query
Hi,Please find my query below:SELECT T2.STATUS ,COUNT(*) CNT FROM ( SELECT T1.ID, MAX(T1.STATUS_ID) STATUS_ID FROM TABLE1 T1 WHERE...
View ArticleSQL 2014
We have been going to plan migrate 2005 to 2014, so that what is the syntax need to correct ?what are the other dis-compatibility sources available for sample we are getting below issue We're having...
View Articlerestore from file/filegroup
I know how to do this. but where exactly in what situation can this option be used?I read something about this being useful in case of damaged files etc, but would appreciate better...
View Articlelog shipping: RESTORE LOG WITH CONTINUE_AFTER_ERROR?
Hi experts, I found the restore log on standby node failed with the error message like below. What happen? How do I prevent this error? How do I repair(rebuild a new log shipping DB)?--- messages...
View ArticleHow does database full backup impact user login ?
Hello everyone, Now many our sql server 2008 r2 sp1 servers start to report errors when daily full database backup job starts:2014-07-11 01:19:04.980spid59sDatabase mirroring is inactive for database...
View ArticleUnable to shutdown SQL Server
Hello, I'm facing an issue with a SQL Server 2008 SP3 CU17 setup on Windows Server 2008 R2 SP1. I've got 4 instances running on this server. A bunch of users make some queries with SSMS (I know it's...
View ArticleSQL Server Distributed Partitioning Views how to add a new node online
We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into...
View ArticleI cant find the error
public partial class Details : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { SqlConnection conn = new SqlConnection("Data...
View ArticleSQL Server 2012 syspolicy_purge_history fails step 3 "Erase Phantom System...
I recently installed SQL Server 2012 Ent (x64). The install is a stand alone default instance.The syspolicy_purge_history job fails on step three with the following error:Executed as user:...
View ArticleHow to resolve SQLVDI and SQLWRITER errors
I'm getting these errors whenever I run windows backup on I get these errors for each of the six SQL databases. Below are two examples of the errors that I get. This is causing my backups to fail. Log...
View ArticleDBM_INIT shows up in a profiler trace
What is DBM_INIT and how is it interpreted in trace? The eventClass is 50 and the eventSubClass is either 1 or 2.Jo Lee
View ArticleMissing index DMV
I tried to use missing indexes DMV (sys.dm_db_missing_index_group_stats, sys.dm_db_missing_index_groups and sys.dm_db_missing_index_details etc) to get suggested missing indexes. I got two suggested...
View Articlesql server security patch
Hi team,what are the main difference in sql server patch and sql serve security patch ?what is the sql server security patch and how to apply the security patch.
View ArticleIn Avg. IOPS report the below query is generating very high I/O pls help to...
In Avg. IOPS report the below query is generating very high I/O pls help to tune it: insert into @tempsamples SELECT CASE WHEN @Direction = -1 THEN...
View ArticleFilegroup Restoration Post FG Restore Index Not reflecting
Hi All,I have a situation here.I have created a Database. Then I created a Secondary File Group and Placed a File in it.Now I created a Table on Primary File Group and Created 2 Indexes on secondary...
View ArticleHaving trouble while trying to attach an existing database in SQL Sever 2005
I'm getting this error message while I try to get some database file attached which was previously detached from MS SQL Server 2005. Anyone here who can guide me to make a solution for this??Thanks in...
View ArticleSQL Server 2012: NUMA node shown as offline without special affinity settings
My main production server has four NUMA nodes with two SQL Server 2012 instances on it. One of the instances has the CPU affinity set to use only one NUMA node, and sys.dm_os_nodes reflects that...
View Article