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
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 list all the installed SQL Server on the Server using TSQL
Posted
over 4 years ago
by
Parikshit Savjani
3
Comments
The SQL Server instances are independent and do not know each other. The method is to query the registry to find the instances. You can use the following Script to list all the installed sql server on the server using TSQL Solution ======...
Microsoft SQL Server Tips & Tricks
SQL Server 2005 Setup Failing to Install on Cluster when we use an underscore in the virtual cluster name
Posted
over 4 years ago
by
Parikshit Savjani
1
Comments
Setup is always known to have a mind of its own; this blog is meant to demystify this process. We are specifically talking about SQL Server 2005 Setup on a cluster. It has been observed that the installation of the SQL server 2005 instance on the cluster...
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
Unable to create Maintenance Plans or DBMail Fails after service pack/Hotfix is applied on SQL Server 2005 fail over cluster instance running on Windows 2008 cluster
Posted
over 4 years ago
by
Parikshit Savjani
11
Comments
We have seen a couple of cases, wherein we are unable to create maintenance plan or DBMail Fails after applying SP on SQL Server 2005 failover cluster instance running on Windows 2008 Cluster . Resource Database and other system databases may not be...
Microsoft SQL Server Tips & Tricks
BCP Field terminator character changing automatically
Posted
over 4 years ago
by
sequelguy
0
Comments
The Field Terminator specified in the BCP command changes to a different character than specified. This occurs when the bcp command is run in a batch file. The bcp works as expected when it’s run directly in the command prompt. In our example the section...
Microsoft SQL Server Tips & Tricks
HOW TO DETECT SQL SERVER INSTANCES / FEATURES INSTALLED ON A MACHINE
Posted
over 4 years ago
by
Parikshit Savjani
7
Comments
Have you ever wondered if there is a programmatic way to detect all the SQL server instances and services installed on a machine. Well, worry no more as the code below will do exactly that. There are 2 ways to go about this : Method 1 – For the Programmer...
Microsoft SQL Server Tips & Tricks
HOW TO MANAGE SQL SERVER 2000 Services USING WMI
Posted
over 4 years ago
by
Parikshit Savjani
4
Comments
There are quite a few blog posts out there to manage SQL Server 2005 services using the :\\.\root\Microsoft\SqlServer\ComputerManagement\ However, WMI Admin Provider is not pre-installed for SQL Server 2000. It needs to be installed separately using the...
Microsoft SQL Server Tips & Tricks
Default database role members are not scripted when we use the "Generate Script Wizard"
Posted
over 4 years ago
by
Parikshit Savjani
1
Comments
The default database role members are not scripted when we use the "Generate Script Wizard" Cause ====== This is an issue with the Generate Script Wizard code . It considers the rolemember as a part of Permissions for the Role and hence scripts...
Microsoft SQL Server Tips & Tricks
SQL SERVER 2000 CLUSTER FAILS TO COME ONLINE ON CLUSTER AFTER APPLYING SECURITY PATCH oN WINDOWS SERVER
Posted
over 4 years ago
by
Parikshit Savjani
1
Comments
We have observed a number of cases where Sql Server resource fails to come online on Windows 2000 Cluster after applying a security patch. As mentioned in my previous posts whenever a sql server resource fails to come online we should start by checking...
Microsoft SQL Server Tips & Tricks
Error:The connection does not support enlisting in distributed transaction.
Posted
over 4 years ago
by
Parikshit Savjani
3
Comments
When we use the Microsoft OLEDB provider for DB2 from the Feature Pack for Microsoft SQL Server 2005 in SSIS connection manager and set the component level or package level Transaction option to Required. The package execution fails with the error below...
Microsoft SQL Server Tips & Tricks
Part – 2 : SQL Server 2005 Patch Fails to install with an error "Unable to install Windows Installer MSP file"
Posted
over 4 years ago
by
sequelguy
2
Comments
Environment : è Windows Server 2003 SP2 x64 è SQL Server 2005 Standard Edition SP2 x86 Build 9.00.3215 (SP2 with Cumulative Update 5) Objective : è To install SP3 for SQL Server 2005. Problem : è SP3 failed to install...
Microsoft SQL Server Tips & Tricks
How to backup SQL Server databases to a mapped drive
Posted
over 4 years ago
by
Parikshit Savjani
8
Comments
While taking backups for SQL Server databases onto a mapped drive you might get the following error: " The system cannot find the path specified." This is because a network share that you map using a local drive letter will not be visible to a SQL...
Microsoft SQL Server Tips & Tricks
Sql Server Resource Fails to come online on Cluster with Error Error Locating Server/Instance Specified [xFFFFFFFF]
Posted
over 4 years ago
by
Parikshit Savjani
3
Comments
As mentioned in my previous posts if the sql server fails to come online we need to start troubleshooting by looking at the sql server error log. So we checked the sql server error log and found that sql server was started successfully and there...
Microsoft SQL Server Tips & Tricks
HOW TO CREATE A BASIC CLR FUNCTION TO EXECUTE AS A SP IN SQL SERVER
Posted
over 4 years ago
by
Parikshit Savjani
2
Comments
The objective of this article is to help understand and create a CLR function to be executed as an SP in SQL Server. This with reference to the blog: http://blogs.msdn.com/sqlsecurity/archive/2008/01/10/xp-cmdshell.aspx for using CLR function as a work...
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
FAILED TO DROP Full TEXT Catalog ON A DATABASE after upgrading to sql server 2005
Posted
over 4 years ago
by
Parikshit Savjani
10
Comments
Consider the following scenario where you upgraded a database from sql server 2000 to sql server 2005 instance and changed the compatibility of the database to 90 and now you wish to drop the Full Text catalog which was originally created in the sql server...
Microsoft SQL Server Tips & Tricks
Cumulative update 10 fails to install on sql server 2005 sp2 WITH operating system error 3
Posted
over 4 years ago
by
Parikshit Savjani
1
Comments
While applying Cumulative Update 10 on a sql server 2005 SP2, the update may fail to install after 80% setup was completed with the following error message. ERROR MESSAGE =========== [Microsoft][SQL Native Client][SQL Server]CREATE DATABASE failed...
Microsoft SQL Server Tips & Tricks
SQL SERVER 2005 INSTANCE FAILING TO INSTALL AFTER TRYING TO REINSTALL WITH ERROR 1603
Posted
over 4 years ago
by
Parikshit Savjani
2
Comments
Many times we need to reinstall a sql server instance due to number of reason. Whenever you reinstall the sql server instance the success of the installation of the new sql server instance primarily depends on the whether the previous uninstall of...
Microsoft SQL Server Tips & Tricks
How to reapply SQL 2000 SP4 to update all the 13 scripts
Posted
over 4 years ago
by
sequelguy
1
Comments
Due to any issue, you may want to rerun SQL 2000 SP4 upgrade. SQL 2000 Service Packs are cumulative. But when you re-run SP4 it only updates 7 Scripts those are new with SP4. This could be useful when SQL Server is already on SP3 and due to some reason...
Microsoft SQL Server Tips & Tricks
Part – 1 : SQL Server 2005 Patch Fails to install with an error "Unable to install Windows Installer MSP file"
Posted
over 4 years ago
by
sequelguy
25
Comments
We have seen several issues where installation of Service Pack/Hotfix/GDR/CU fails to install on one or more components of SQL Server 2005. In this blog , I have tried to include few troubleshooting tips and tricks for these kinds of installation failures...
Microsoft SQL Server Tips & Tricks
Queries May Appear to Run Slow on SQL SERVER COMPACT EDITION v3.1 Database
Posted
over 4 years ago
by
Parikshit Savjani
0
Comments
While running your application on SQL CE v3.1 databases you may observe slowness in the performance of some of the queries especially those which involve querying the primary key. In Sql server databases when you create a Primary Key on a column of...
Microsoft SQL Server Tips & Tricks
SQL SERVER 2005 RESOURCE FAILS TO COME ONLINE ON CLUSTER AFTER CHANGING THE SAN DRIVE TO ADD MORE DISK SPACE
Posted
over 4 years ago
by
Parikshit Savjani
10
Comments
We have observed a number of issue now where in clustered instance of sql server 2005 fails to come online after performing changing on shared disk on a cluster. As mentioned in my previous posts if the sql server fails to come online we need to start...
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
SQL SERVER 2000 CLuster FAILS TO COME ONLINE ON OTHER NODE
Posted
over 4 years ago
by
Parikshit Savjani
0
Comments
Recently I encountered a case wherein clustered instance of sql server 2000 fails to come online on other node of a 2 Node Cluster. Usually for such cases we need to start troubleshooting by checking the Error log of the sql server from the server...
Page 11 of 13 (315 items)
«
9
10
11
12
13