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
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
How to change the collation of all the existing objects at once inside a database after upgrading to SQL 2005?
Posted
over 4 years ago
by
Parikshit Savjani
2
Comments
Consider the following the scenario Scenario : SQL Server 2000 Instance : Collation A We perform a upgrade from SQL Server 2000 to SQL Server 2005 changing the collation. After successful...
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
BCP Command using code page 65001 fails, if both SQL Server 2000 and SQL Server 2005 tools are installed
Posted
over 4 years ago
by
Rajesh Setlem
1
Comments
Problem description: The BCP command with code page 65001 fails when both SQL Server 2000 and SQL Server 2005 tools are present on the server. Cause: This issues occurs because when both SQL Server 2000 and SQL Server 2005 tools are present on...
Microsoft SQL Server Tips & Tricks
INF: Permissions required for SQL Server Service account to use SSL certificate
Posted
over 3 years ago
by
Nikesh Mhatre
2
Comments
In this blog, we will discuss a scenario which is common across the SQL Server environment using certificates. With the help of another security expert, we were able to find an additional permission required for SQL service account (Non Sys admin) to...
Microsoft SQL Server Tips & Tricks
SQL Server Analysis Services Port (SQL 2005 / 2008)
Posted
over 4 years ago
by
Parikshit Savjani
3
Comments
Default Port:2383 You can change default Port for AS in msmdsrv.ini file of the Instance. Port Used by SQL Server Browser Services for SSAS is 2382 How to determine on which port AS is running? -Open Task Manager Get the PID for msmdsrv.exe -Open command...
Microsoft SQL Server Tips & Tricks
What should we do when the sql server performance counters are missing
Posted
over 4 years ago
by
Parikshit Savjani
3
Comments
Performance Monitor Counters has always been the "Bread and Butter" for System Engineers and Administrators alike. With each new version of Windows, Microsoft has always improved on and provided a "better than ever" performance monitors. With the performance...
Microsoft SQL Server Tips & Tricks
Issues with SQL Server Login Failures and dependency on Windows Password Policy Check
Posted
over 4 years ago
by
AmruthaVarshiniJ
2
Comments
Good afternoon techies! I recently worked with some customers on SQL Server 2005 login failure issues. Thought I’d make a blog post on what exactly we do @ PSS in such situations and specifically share my thoughts on login failure issues relating with...
Microsoft SQL Server Tips & Tricks
Error 11032 Unable to install Windows Installer MSP while installing security patch KB 948109 on SQL 2005 instance
Posted
over 5 years ago
by
sequelguy
5
Comments
While installing security patch KB 948109 on SQL Server 2005, the installation of the patch may fail. In order to find the cause of the failure we need to look into the setup bootstrap logs which are located in the following location, C:\Progarm Files...
Microsoft SQL Server Tips & Tricks
Executing BCP fails with SQLState = 37000, NativeError = 4891. Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Insert bulk failed due to a schema change of the target table
Posted
over 4 years ago
by
Parikshit Savjani
1
Comments
BCP is a very commonly used operation and sometime very critical and failure could cause loss of operation time and inconsistent data. Below is one of the cause resulting in bcp operation failure and the error indicates some schema change issue. here...
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
Performance of a Query on Computed Column can degrade in Sql 2005 with the increase in complexity of function in computed column
Posted
over 4 years ago
by
Parikshit Savjani
2
Comments
With Sql server 2000 and 2005 computed columns can be use to improve the performance of queries since without the computed columns, indexes cannot be used as explained in the following blog by one of our Escalation Engineer Jack Li. http://blogs...
Microsoft SQL Server Tips & Tricks
How to set Soft-NUMA for SQL Server 2008 R2
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
This is probably one of the murky topics of SQL Server. Add to this equation, hardware NUMA and the CPU Mask values can be a tough one to determine. Books Online has an article on how to configure Soft-NUMA for a SQL Server 2008 R2 instance. Rob Dorr...
Microsoft SQL Server Tips & Tricks
Incorrect BufferCount data transfer option can lead to OOM condition
Posted
over 3 years ago
by
AmruthaVarshiniJ
2
Comments
SQL Server Books Online holds information on a variety of topics concerning the product which can overwhelm any user. Today, I shall demystify two parameter options for the most commonly automated DBA activity: Database Backups. SQL Server database backups...
Microsoft SQL Server Tips & Tricks
Transaction Log Shipping Status Report for monitor server will not pull up information if alias is used for monitor server
Posted
over 4 years ago
by
Parikshit Savjani
1
Comments
While using Logshipping, if a servername for monitor is used which is other than the @@servername output, for example an alias, the transaction log shipping status report on the monitor server will NOT show any information about the primary and secondary...
Microsoft SQL Server Tips & Tricks
INFORMATIONAL: FULL TEXT SEARCH ENGINE & FULL TEXT INDEX POPULATION INTERNALS
Posted
over 4 years ago
by
Parikshit Savjani
5
Comments
Well I’ve looked around in our blog and it pained me to see there were no posts on Full Text Search; an often misunderstood and under-utilized feature that SQL Server provides. Wait no more, here comes the first one (of many I hope) :) . In this post...
Microsoft SQL Server Tips & Tricks
How to Convert UTC Time to Local Time in SQL
Posted
over 2 years ago
by
Harsh Chawla
1
Comments
There currently isn’t a way in T-SQL to convert UTC Time to Local time; however this seems to be a common issue people are facing. Here is how we could resolve this by writing a simple C# code and deploying it to SQL. This can easily be achieved...
Microsoft SQL Server Tips & Tricks
ERROR 29506 while installing the SP2 on the sql server 2005
Posted
over 5 years ago
by
sequelguy
0
Comments
While installing SP2 on the SQL server 2005, the installation may fail. Whenever the SQL server installation fails it creates a log in the following location. C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\ The above location generally...
Microsoft SQL Server Tips & Tricks
Can’t understand the difference between hashing and encryption?
Posted
over 4 years ago
by
Parikshit Savjani
7
Comments
When I first looked at encryption and hashing I found it to be the same. It was confusing. So here we would be discussing two topics 1) the basic difference between encryption and hashing. 2) How do we implement encryption and hashing in SQL server...
Microsoft SQL Server Tips & Tricks
A query in SQL Server Management studio could fail with Error: "An error occurred while executing batch. Error message is: The file exists
Posted
over 3 years ago
by
AmruthaVarshiniJ
2
Comments
Below is one of the scenarios, I recently witnessed where a query was failing when executed from SSMS (SQL 2008) on windows client machine. There is no local SQL installation on the machine and had registered a remote SQL Server instance. When tried to...
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
Stemming Functionality in Full Text Search using CONTAINS
Posted
over 4 years ago
by
Parikshit Savjani
7
Comments
Many a times you may have encountered issues related to Full Text Search functionality in SQL Server wherein you won’t be able to search words with different verb forms. These different verb forms are also called as Stemmers. For a given language...
Microsoft SQL Server Tips & Tricks
Backup Software fails to take System State backup if SQL server VSS writer Service is running
Posted
over 3 years ago
by
AmruthaVarshiniJ
0
Comments
This blog describes a very simple but tricky issue. A Backup software was unable to take system state back up. The issue was narrowed down to a situation where the SQL Server VSS writer service fails to connect to a non existing SQL instance. When we...
Microsoft SQL Server Tips & Tricks
DTS PACKAGE THAT EXPORTS RESULTS TO EXISTING EXCEL WORKBOOK APPENDS THE DATA INSTEAD OF OVERWRITING
Posted
over 4 years ago
by
Parikshit Savjani
4
Comments
We have observed a common issue which is faced by many of our customers who export the result set from DTS package to excel worksheet. DTS package that exports results to an existing excel workbook appends the data each time you run it. ...
Microsoft SQL Server Tips & Tricks
Error messages and the solutions related to “distributor_admin” login
Posted
over 4 years ago
by
sequelguy
5
Comments
Error messages: The log reader fails with the following error message: ============================================== The process could not execute 'sp_MSpub_adjust_identity' on 'PR2K8\YUKON'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011) Get help...
Page 4 of 13 (315 items)
«
2
3
4
5
6
»