Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Microsoft SQL Server Tips & Tricks
Tips and Tricks for the SQL Server Enthusiast
RSS for posts
Database Engine
blogs
Analysis services
blogs
Reporting services
blogs
Integration services
blogs
Data access tech blogs
Database Engine videos
Analysis services videos
Reporting services videos
Integration services videos
Data access tech Videos
Common Tasks
Blog Home
Email Blog Author
About
RSS for comments
RSS for posts
Atom
Search
Tags
analysis services
Backup
Cluster
DBVideo
Encryption
Installation
Linked Server
OLAP
Performance
query plan
replication
Security
Setup
SQL
sql 2000
sql 2005
SQL 2008
SQL query plan
SQL Server
SQL Server 2000
SQL Server 2005
sql Server 2008
SQL Server 2008 R2
Transactional Replication
Upgrade
Archives
Archives
July 2013
(1)
May 2013
(2)
April 2013
(2)
March 2013
(1)
December 2012
(2)
June 2012
(7)
May 2012
(1)
April 2012
(3)
March 2012
(5)
February 2012
(4)
January 2012
(3)
December 2011
(4)
November 2011
(3)
October 2011
(4)
September 2011
(1)
August 2011
(5)
July 2011
(3)
June 2011
(6)
May 2011
(10)
April 2011
(1)
March 2011
(1)
February 2011
(6)
January 2011
(3)
December 2010
(4)
November 2010
(2)
October 2010
(4)
September 2010
(9)
August 2010
(4)
June 2010
(4)
May 2010
(15)
April 2010
(18)
March 2010
(18)
February 2010
(7)
December 2009
(8)
November 2009
(7)
October 2009
(10)
September 2009
(6)
August 2009
(13)
July 2009
(5)
June 2009
(15)
May 2009
(5)
April 2009
(15)
March 2009
(15)
February 2009
(8)
January 2009
(9)
December 2008
(5)
November 2008
(2)
October 2008
(10)
September 2008
(5)
August 2008
(2)
July 2008
(7)
June 2008
(4)
May 2008
(1)
April 2008
(1)
MSDN Blogs
>
Microsoft SQL Server Tips & Tricks
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Microsoft SQL Server Tips & Tricks
Unable to read trace definition file Microsoft SQL Server TraceDefinition n.n1.n2.xml
Posted
over 2 years ago
by
Nikesh Mhatre
4
Comments
Symptoms When you open SQL Server profiler, and try to start a new trace (or when try to open an existing trace ), you get the error " Unable to read trace definition file Microsoft SQL Server TraceDefinition 9.0.1187.xml. Click OK to retreive...
Microsoft SQL Server Tips & Tricks
Case Study: Troubleshooting a Slow Log Shipping Restore job
Posted
over 2 years ago
by
Balmukund
5
Comments
Scenario Consider a scenario where you have a Log shipping setup with a STANDY secondary database and things are working just fine. One fine day you notice that the secondary database is not in sync with the primary. The seasoned DBA that you are, you...
Microsoft SQL Server Tips & Tricks
Using Bulk Logged recovery model for Bulk Operations will reduce the size of Transaction log backups – Myths and Truths
Posted
over 2 years ago
by
Balmukund
18
Comments
It's has been couple of years for me working on SQL Server and I keep coming across various SQL Server misconceptions (or say a DBA Myth). In this specific post I’ll demystify a common DBA myth around log-shipping: " In a log shipping setup, to have...
Microsoft SQL Server Tips & Tricks
Microsoft SQL Server 2005 Service Pack 4 Released!
Posted
over 3 years ago
by
Balmukund
1
Comments
The RTM version of Service Pack 4 (SP4) for Microsoft SQL Server 2005 is now available for download, and includes SQL Server 2005 SP3 cumulative updates 1 to 11, customer requested fixes and the SQL Server 2005 SP4 database engine support for DAC operations...
Microsoft SQL Server Tips & Tricks
SQL Server Denali - AlwaysON (HADR): Step-by-Setup setup guide
Posted
over 3 years ago
by
Balmukund
15
Comments
As you might be aware that SQL Server Code-Named “Denali” has introduced a new feature called Always ON for enhancing the availability of user database in a enterprise environment. In simple terms, AlwaysON is a high-availability and disaster recovery...
Microsoft SQL Server Tips & Tricks
SQL Server 7.0 support to end on 11 Jan 2011
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
For additional details check the link below: http://blogs.msdn.com/b/sqlreleaseservices/archive/2010/09/29/end-of-support-for-sql-server-7-0.aspx?wa=wsignin1.0 Regards, SQLServerFAQ
Microsoft SQL Server Tips & Tricks
SQL Server 2008 Best Practices Analyzer (SQL BPA) - Video
Posted
over 3 years ago
by
Balmukund
0
Comments
The SQL Server Best Practices Analyzer (BPA) gathers data from Microsoft Windows and SQL Server configuration settings. BPA uses a predefined list of SQL Server recommendations and best practices to determine if there are potential issues in the database...
Microsoft SQL Server Tips & Tricks
Unable to connect to SQL , “Error executing extended stored procedure: Invalid Parameter (Microsoft SQL Server, Error: 22001”
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
Issue When we try to connect to a SQL instance from SQL server Management studio we get the following error : Error executing extended stored procedure: Invalid Parameter Error executing extended stored procedure: Invalid Parameter (Microsoft...
Microsoft SQL Server Tips & Tricks
RESTORE DATABASE fails while trying to restore password protected backup set from SSMS
Posted
over 3 years ago
by
AmruthaVarshiniJ
1
Comments
ISSUE: I’m trying to restore a database backup from SSSMS-UI, however it fails in an initial stage with below error TITLE: Microsoft SQL Server Management Studio ------------------------------ Specified cast is not valid. (SqlManagerUI) ----...
Microsoft SQL Server Tips & Tricks
SQL Server Backup Simulator
Posted
over 3 years ago
by
AmruthaVarshiniJ
1
Comments
We at SQL Server support team, continue to invest our time in writing tools and utilities which can aid you in troubleshooting SQL Server issues. SQL Server Backup Simulator is one such tool which will help you while troubleshooting issues in taking backup...
Microsoft SQL Server Tips & Tricks
Troubleshooting specific Login Failed error messages
Posted
over 3 years ago
by
AmruthaVarshiniJ
6
Comments
A recent discussion on the #sqlhelp hashtag on Twitter got me researching into this issue. The error message was: 2010-10-19 02:56:59.380 Logon Error: 18456, Severity: 14, State: 11 . 2010-10-19 02:56:59.380 Logon Login failed for user <Server name>...
Microsoft SQL Server Tips & Tricks
SQL Server 2008 service fails to start, after applying Service Pack 1
Posted
over 3 years ago
by
AmruthaVarshiniJ
12
Comments
Recently, I worked on an interesting case where customer after upgrading an instance of SQL Server 2008 with SP1, the SQL server 2008 services and resources went into a stopped and failed state respectively. The services might appear to come online briefly...
Microsoft SQL Server Tips & Tricks
Troubleshooting tempdb growth due to Version Store usage
Posted
over 3 years ago
by
AmruthaVarshiniJ
2
Comments
Troubleshooting tempdb growth due to Version Store usage Recently I worked on an issue where the tempdb database version store cleanup was not occurring. I created a small repro to demonstrate the behavior. My tempdb has been showing the version...
Microsoft SQL Server Tips & Tricks
Scan Count meaning in SET STATISTICS IO output: Part 2
Posted
over 3 years ago
by
AmruthaVarshiniJ
5
Comments
In my last blog post , I had explained what Scan Count means and how it is calculated for a query executed on a table. I had illustrated a few examples based on seeks/scans done on Clustered Indexes of a table. This time I shall expand this to clustered...
Microsoft SQL Server Tips & Tricks
Sometimes Replication Monitor shows number of Undistributed Transactions as a very high number, but replication itself works properly.
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
An overview of the inner working of a replication monitor We might see large number of Pending transactions on one of the Publisher in P2P replication. But when we check the Replication Monitor for second server (Subscriber) it might show a small...
Microsoft SQL Server Tips & Tricks
Upgrade to SQL 2008 from 2005 (cluster) fails with The cluster group 'SQL GROUP' could not be moved from node 'NODENAME1' to node 'null' , 0x8007139F
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
Problem We try to upgrade to SQL 2008 from SQL 2005 in a cluster setup and it fails on the Active node with the following error: From the Summary.txt There was an error during the SQL Server upgrade operation. Setup failed to move the failover...
Microsoft SQL Server Tips & Tricks
Upgrade from SQL Server 2008 to SQL Server 2008 R2 might fail with the error “Wait on the Database Engine Recovery Handle Failed”
Posted
over 3 years ago
by
AmruthaVarshiniJ
2
Comments
PROBLEM DESCRIPTION ================ · During upgrade from SQL Server 2008 to SQL Server 2008 R2 we might encounter an error as shown below Wait on the Database Engine Recovery Handle Failed. Check the SQL Server error log for potential...
Microsoft SQL Server Tips & Tricks
We would like your feedback !
Posted
over 3 years ago
by
AmruthaVarshiniJ
5
Comments
Microsoft SQL Server Tips & Tricks
SCAN COUNT meaning in SET STATISTICS IO output
Posted
over 3 years ago
by
AmruthaVarshiniJ
8
Comments
What does the Scan Count output in the SET STATISTICS IO output actually mean? I have seen multiple posts on the web regarding confusions and theories around this. As per Books Online , Scan Count is: Number of index or table scans performed. ...
Microsoft SQL Server Tips & Tricks
Troubleshooting Error 511 using XEvents
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
Now that we have XEvents in SQL Server 2008 and above, some of the issues that required us to capture SQL Server dumps or Profiler traces while reproducing an issue are passé. Move over DumpTrigger and Profiler, XEvents is here to replace you!...
Microsoft SQL Server Tips & Tricks
OPEN SYMMETRIC KEY command prevents query plan caching
Posted
over 3 years ago
by
AmruthaVarshiniJ
1
Comments
This was quite an interesting issue. We started troubleshooting a SQL Server blocking problem due to COMPILE lock blocking. The KB Article: Description of SQL Server blocking caused by compile locks explains why COMPILE lock blocking is encountered on...
Microsoft SQL Server Tips & Tricks
HOW TO IDENTIFY COMPRESSED TABLES BEFORE RESTORING/MIGRATING DATABASE to any edition other than Enterprise Edition of SQL Server 2008
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
PROBLEM DESCRIPTION =================== While trying to migrate the database from sql2008 enterprise to standard you get the following error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Restore failed...
Microsoft SQL Server Tips & Tricks
PRB: SQL Server Browser service does not start due to Winsock Monitoring Software
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
Issue During an upgrade from SQL 2005 to SQL 2008 Express, the SQL Browser service failed to start, thus causing the upgrade to fail. We saw the following errors being reported in detail.txt 2010-07-23 18:49:17 SQLBrowser: SQL Server Browser Install...
Microsoft SQL Server Tips & Tricks
INF: SQL Security - Restricting access to public on server/database objects, its implications and ownership chains
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
INF: SQL Security - Restricting access to public on server/database objects, its implications and ownership chains There are times when you need to harden the security of your SQL Server and prevent the public/guest users from having access to certain...
Microsoft SQL Server Tips & Tricks
TRANSACTION LOG BACKUP and RESTORE SEQUENCE: Myths & Truths
Posted
over 3 years ago
by
AmruthaVarshiniJ
9
Comments
In a recent issue with a customer, I came across a strange SQL belief (or say a DBA Myth) regarding SQL Server Transaction Logs Backup/Restore. Let me explain you what was the scenario and then let’s try attempting to break the myth with quick testing...
Page 4 of 13 (316 items)
«
2
3
4
5
6
»