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
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
update statistics
Upgrade
Archives
Archives
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
How do I map a differential/transaction log backup to its full backup without using MSDB?
Posted
12 days ago
by
HarshDeep_Singh
0
Comments
If you have multiple full, differential and transaction log backups, there are chances you may end up facing the error below during the restore process. “ This differential backup cannot be restored because the database has not been restored to the correct...
Microsoft SQL Server Tips & Tricks
Change Data Capture gets disabled when you break mirroring and bring the database online
Posted
19 days ago
by
HarshDeep_Singh
1
Comments
Issue ================ Recently we encountered an issue where customer performed a planned failover for a mirrored database and after the failover the new principal went into suspect mode because of some reason (which is outside the scope...
Microsoft SQL Server Tips & Tricks
Do NOT delete files from the Windows Installer folder
Posted
1 month ago
by
HarshDeep_Singh
1
Comments
C:\windows\Installer is not a temporary folder and files in it should not be deleted. If you do it on machines on which you have SQL Server installed you may have to rebuild the operating system and reinstall SQL Server. The Windows Installer Cache...
Microsoft SQL Server Tips & Tricks
How to monitor deadlock using extended events in SQL Server 2008 and later
Posted
1 month ago
by
HarshDeep_Singh
2
Comments
Before I talk about how to monitor the deadlocks let us have a small brief what is deadlock and how we were handling them in the previous versions of SQL Server. Deadlock : A deadlock occurs when there is a cyclic dependency between two or more...
Microsoft SQL Server Tips & Tricks
Ventured into BULK INSERTS
Posted
2 months ago
by
HarshDeep_Singh
0
Comments
Recently, whilst working with bulk insert queries I came across an unexpected result set which led to some more research. Therefore, following facts/tips/tricks/workarounds might help you: If you execute the following code for example: NOTE...
Microsoft SQL Server Tips & Tricks
How to Login to SQL Server with NT AUTHORITY\SYSTEM using PSExec Tool
Posted
5 months ago
by
HarshDeep_Singh
0
Comments
PSExec tool gives you an option to run a remote process or an application using System account, if SYSTEM account has permission on that application. Although there are many more features that are For example, if SQL Server has NT AUTHORITY\SYSTEM...
Microsoft SQL Server Tips & Tricks
How to limit connections to SQL Server until all databases are ONLINE!
Posted
5 months ago
by
HarshDeep_Singh
5
Comments
Strange requirement, right? Recently, I got a peculiar case wherein the demand made by the customer was to make sure no application should be able to connect to SQL Server unless and until all the databases are ONLINE. The business requirement of this...
Microsoft SQL Server Tips & Tricks
Why to look at "Wait Statistics" to troubleshoot SQL Performance
Posted
11 months ago
by
Harsh Chawla
2
Comments
Here we will discuss on Waits in the context of SQL Server: Highlights of this video blog :- 1. What is wait and why we need to focus on wait? 2. Lifecycle of a session 3. Analogy to explain waits 4. Types of Waits. 5. Where to see waits...
Microsoft SQL Server Tips & Tricks
SQL server 2008 Filestream
Posted
11 months ago
by
Harsh Chawla
0
Comments
Filestream is a new feature in SQL server 2008, that allows storage and efficient access to BLOB data, using combination of SQL Server 2008 and NTFS file system. It provides an easy way of handling BLOB data with database transactional consistency...
Microsoft SQL Server Tips & Tricks
Troubleshooting SQL server High CPU : Part 2
Posted
11 months ago
by
Harsh Chawla
0
Comments
In this blog we have explained the various causes for SQL to drive the processors i.e. high CPU and the steps to troubleshoot it. Possible causes that can lead to high CPU usage by SQL server:- 1.Inefficient Query Plans 2. Intra- query Parallelism...
Microsoft SQL Server Tips & Tricks
Troubleshooting SQL server High CPU : Part 1
Posted
11 months ago
by
Harsh Chawla
1
Comments
In this blog we have explained the various causes for SQL to drive the processors i.e. high CPU and the steps to troubleshoot it. Possible causes that can lead to high CPU usage by SQL server:- 1.Inefficient Query Plans 2. Intra- query Parallelism...
Microsoft SQL Server Tips & Tricks
Product Update Feature in SQL Server 2012
Posted
11 months ago
by
Harsh Chawla
0
Comments
A new feature introduced in SQL Server 2012 setup is "Product Update". Product Update searches for the latest product updates and integrates it with the main product installation.It can search for the latest or applicable updates in Microsoft Update...
Microsoft SQL Server Tips & Tricks
Introduction to Sparse Columns
Posted
11 months ago
by
Harsh Chawla
0
Comments
In this video blog we would walk you through a feature introduced from SQL server 2008 i.e. Sparse Columns. Sparse columns are just an ordinary columns that have an optimized storage for null values. It reduces the space requirements for null values...
Microsoft SQL Server Tips & Tricks
High Availability for SQL Server Replication using Database Mirroring
Posted
11 months ago
by
Harsh Chawla
2
Comments
Here we will Discuss on Providing High Availability for SQL Server Transactional Replictaion using Database Mirroring : Highlights of this video blog :- 1. Transactional Replication Overview. 2. Database Mirroring Overview 3. Replication with...
Microsoft SQL Server Tips & Tricks
Missing MSI's/MSP's error during SQL Server Patching
Posted
over 1 year ago
by
Harsh Chawla
3
Comments
In this video blog, we would walk you through some tips and methods to troubleshoot Missing MSI's/MSP's error during SQL Server Patching or installation. Highlights of this video blog :- 1. What are MSI's/MSP's 2. Location of Setup logs and log...
Microsoft SQL Server Tips & Tricks
Bulk insert command fails to insert the correct characters?
Posted
over 1 year ago
by
Harsh Chawla
0
Comments
Bulk insert command is not inserting correct characters from a flat file into the table. For instance, the character “Ñ” is displayed as “+æ“ after getting imported in the table. In other words the characters from...
Microsoft SQL Server Tips & Tricks
Can TLS certificate be used for SQL Server encryption on the wire???
Posted
over 1 year ago
by
Harsh Chawla
0
Comments
During our recent interactions with a few customers, we were asked following questions about TLS certificates with SQL server: 1. Can TLS certificate be used with SQL Server 2008 for server-side encryption? 2. If Yes, How? To start with, let’s...
Microsoft SQL Server Tips & Tricks
Failure of SQL Server 2008 Installation due to MSI error
Posted
over 1 year ago
by
Harsh Chawla
0
Comments
Issue: Installation of SQL Server 2008 might fails with below error on 64-Bit Operating system. MSI Error: 1719 The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if Windows Installer...
Microsoft SQL Server Tips & Tricks
SQL Server Replication
Posted
over 1 year ago
by
Harsh Chawla
1
Comments
Queries on SQL Server Replication? Check out our blog to get'em answered , that will give you an overview of the “Replication in SQL server”. Highlights of the blog:- What is replication? Why we should use Replication? What is replication...
Microsoft SQL Server Tips & Tricks
INF: SQL Server Compressed backup may work fine if disk space is less and may fail if disk space is more
Posted
over 1 year ago
by
Balmukund
0
Comments
In this article We are going to discuss about pre-allocation scenarios and their aftermaths for SQL Server 2008 compressed backup. We will try to simulate that compressed backup may succeed if disk space is less and may fail if disk space is more depending...
Microsoft SQL Server Tips & Tricks
An interesting find about Temp tables in SQL Server
Posted
over 1 year ago
by
Harsh Chawla
2
Comments
I ran into a very interesting issue with temp tables recently, when working on a case. The issue description goes something like this. We have an application preparing some SQL statements, and sending them to the SQL Database engine for execution. However...
Microsoft SQL Server Tips & Tricks
INF: AlwaysON – The secondary database doesn't come automatically when the primary instance of SQL Server goes down
Posted
over 1 year ago
by
Balmukund
0
Comments
In this blog we would discuss about behavior of AlwaysON where the secondary database doesn't come automatically when the primary instance goes down. The secondary database goes into Resolving state. On the failover cluster manager the resource appears...
Microsoft SQL Server Tips & Tricks
INF: Limitations for SQL Agent when you have many Jobs running in SQL simultaneously
Posted
over 1 year ago
by
Balmukund
1
Comments
Recently I have had a customer complaining that when he is adding more subscriptions to his publication, distribution agent job for the newly added subscriptions would not start. And when he tried to start the distribution agent job manually, it...
Microsoft SQL Server Tips & Tricks
Table partitioning concepts with sliding window example
Posted
over 1 year ago
by
Harsh Chawla
1
Comments
Highlights of this video blog :- 1. What are Partitioned tables & benefits 2. Building Blocks of Partitioning 3. Partitioned Table Operations 4. Demo 5. Best Practices To watch the video in better quality please check the link: - http://channel9...
Microsoft SQL Server Tips & Tricks
SSL Encryption for SQL Server
Posted
over 1 year ago
by
Harsh Chawla
1
Comments
Highlights of this video blog :- 1. What is SSL Encryption 2. Why is it needed 3. Configuring SSL Encryption for SQL Server 4. Demo To watch the video in better quality, please check the link: - http://channel9.msdn.com/posts/SSL-Encryption-for...
Page 1 of 13 (315 items)
1
2
3
4
5
»