How to import extended event data into a table without UI
I have an event session which created files I would like to import into a table, I want to have the columns I watched showing columns on the table I am importing into one of which is post execution...
View ArticlePolicy Based Management: System Failure Error Check Policy - Filter by...
I have been searching for a means to change the System Failure Error Check policy that comes as part of the Best Practice policies. I want to look back 24 hours. The WQL query shipped with the policy...
View Articlesys.dm_db_stats_properties returns empty rowset for some statistics?
I am looking at the new dynamic management function sys.dm_db_stats_properties.http://msdn.microsoft.com/en-us/library/jj553546.aspxI have found that for some tables and statistics it is returning an...
View ArticleReceiving Error: 17832, Severity: 20, State: 8. for 2 users all other users ok
I have 2 users whose logins always fail but all other users have no issue. One of the users logged into a server and attempted the connection and received the same issue. Other users accessing the...
View Articlehow to avoid the loss of users during backup and restore activity
Hi,I have a database with 100+users . If i restore the DB from some other environment, the entire Db is restored including the users. So my old 100+ users where not able to connect to the databases. Is...
View ArticleDatabase email issue for an maintenance work
Hi,We do have an daily indexreorganise task done and we have an email sent on completion to selected users.Now for some days now we are not receiving emails from the SQL server agent job. However other...
View ArticleQuestion on Indexing
Hello All,I have just started my career as a SQL DBA and this is my first post.I have a primary key on a column that is a unique identifier (width 32 char) and it is nonclustered. There are a lot of...
View ArticleSQL Server Alias Configuration
Hello,I have a question to create a SQL Server Alias to move an SQL Cluster instance to a new hardware.Our environment looks like, that we have a Windows Server 2008 R2 Cluster Installation. On this...
View ArticleDeadlocks mitigated
We have a situation where we had an application that was receiving thousands of deadlocks up until last Monday. They suddenly mitigated. There were no changes to the application server nor the database...
View ArticleIn order for the new setting to take effect for max worker thread do we need...
I want to change the max worker thread value to 0 [as of now its >0] for few of my server and after setting up the value to 0, do I need to recycle sql services in order to new setting to take...
View ArticleRunning DTS package through job in SQL Server 2008
Hi,I have imported DTS packages from SQL Server 2000 to 2008. Under Management-Legacy they show there. I already changed connection strings before importing. I want to run these dts packages through...
View ArticleQuerying extended Events XML WaitTypes and Duration
I'm querying Xevents XML that I have collected, and there is something that I dont quite understand, my definition is for statements taking more than 100 milliseconds and also get the wait type as...
View ArticleDatabase migration from SQL server 2008 to SQL Express edition 2008/2012
Hello,We are planning for migration of one of our DBs from SQL Server 2008 Server to SQL Server Express Edition 2008/2012.1) Can this migration happen from SQL 2008 to SQL Server Express Edition 2012...
View ArticleRead-only login cannot even get estimated execution plan for update!
Does this make any sense?I'm cruising on the production server and using a read-only login for safety.But I'm curious about the execution plan for a simple update statement. I know I can't execute it,...
View ArticleJob outcome: log-message being truncated
While the question is simple I cant convince my search-engine to exclude anything to do with the transaction-log.There should be a way to get the complete(non-truncated) error-message from a SQL-job...
View ArticleSQL Server 2012 Diagnostic Information Queries by Glenn Berry (updated...
http://dl.dropbox.com/u/13748067/SQL%20Server%202012%20%20Diagnostic%20Information%20Queries%20%28January%202013%29.sqlThank you Glenn Berry!Frank Garcia
View Articlewhat is sys.dm_pdw_nodes_os_wait_stats
Hi Friends,SQL 2008 SP3/CU6what is this object ? sys.dm_pdw_nodes_os_wait_stats I can't find any BOL about it. it's listed in the master db as DMV but I can't do anything with it ? I need to modify...
View ArticleBest way to connect to SQL Server 2012
Hi all,very simple question: what is the best connection method to an instance of SQL Server 2012? ODBC? OLEDB? Other?
View Articlelock question
we have a developer that thinks a program in one of his applications might be locking a table. The application sometimes goes down for a bit. Unfortunely, we usually hear about it after the...
View Article