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
How to
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
Upgrade
Archives
Archives
February 2014
(1)
November 2013
(2)
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)
June, 2009
MSDN Blogs
>
Microsoft SQL Server Tips & Tricks
>
June, 2009
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Microsoft SQL Server Tips & Tricks
BCP command calling Stored procedure with dynamic SQL and not having the first statement as a Select fails with the following Error "Error = [Microsoft][SQL Native Client]BCP host-files must contain at least one column"
Posted
over 5 years ago
by
Rajesh Setlem
4
Comments
Environment SQL Server 2005 AND SQL Server 2008. The same command works fine in SQL SERVER 2000. Steps to Repro create proc p1 as declare @typ sysname select @typ = name from (select 'ntext' as name) as t <== FMTONLY mode does not execute this statement...
Microsoft SQL Server Tips & Tricks
Exception when selecting from SYSINDEXES in SQL Server 2005
Posted
over 5 years ago
by
Rajesh Setlem
1
Comments
During our course of troubleshooting queries taking long time for compilation, co-incidentally we found that SELECT * FROM SYSINDEXES was giving us an exception. We were getting the following error in Management Studio whenever querying SYSINDEXES Msg...
Microsoft SQL Server Tips & Tricks
How to uninstall HOTFIXES manually when the base SQL 2000 is not there in the box
Posted
over 5 years ago
by
sequelguy
3
Comments
Consider a scenario where SQL 2000 has been uninstalled and Hotfixes are still visible. In my case it was hotfix 2050 and 2273. One will find the hotfix components visible in the ADD\REMOVE program. In that scenario attempts of removing the hotfixes are...
Microsoft SQL Server Tips & Tricks
Upgrade from SQL 2005 to SQL 2008 might fail with MsiGetProductInfo error
Posted
over 5 years ago
by
sequelguy
30
Comments
Consider a scenario where an upgrade from SQL 2005 to SQL 2008 fails with the following messages while installing Setup Support Files. ******************************************************** TITLE: SQL Server Setup failure. -------------...
Microsoft SQL Server Tips & Tricks
Unable to start SQL Server Agent
Posted
over 5 years ago
by
sequelguy
11
Comments
We are unable to start SQL Server Agent. It was giving the following error when we were trying to start it from the services console The SQL Server Agent (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically...
Microsoft SQL Server Tips & Tricks
Owner of the job will not be able to modify/edit the job In SQL SERVER
Posted
over 5 years ago
by
Parikshit Savjani
0
Comments
Problem Description: ========================= The owner of the job is a Windows login in SQL and cannot modify the job which he owns. This issue will occur if the Windows login added to SQL and the case of the login does not match. Steps to Repro: =...
Microsoft SQL Server Tips & Tricks
Attempt to take Differential or Transaction Log backups using SQL DMO in a job goes for full database backup always
Posted
over 5 years ago
by
Rajesh Setlem
0
Comments
Problem: You have a VB script to take full database backup and transaction log backup using SQL DMO but when the job is executed it takes full database backup always even if in the code it is specified to take transaction log backup. The part where...
Microsoft SQL Server Tips & Tricks
Merge Agent fails with The Merge failed to retrieve the snapshot schema script - Merge Replication with Web Synchronization using FTP Over Internet
Posted
over 5 years ago
by
Parikshit Savjani
0
Comments
When you configure a merge replication with web synchronization using FTP over internet, you might run into an issue when you run the merge agent. Assume that we have configured the merge replication with the above specifications and have run the...
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 5 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
The "Instance to upgrade" option does not appear when we upgrade the SQL server from 2005 to 2008
Posted
over 5 years ago
by
Parikshit Savjani
0
Comments
Problem Description in our scenario: ==================================== The Instance which we needed to upgrade did not appear in the " Instance to upgrade” drop down box while doing an upgrade from the SQL server 2005 to 2008. Cause of the...
Microsoft SQL Server Tips & Tricks
SQL Express setup : No user input screen appears .. The setup advances to last screen and then Hangs
Posted
over 5 years ago
by
Parikshit Savjani
1
Comments
Issue / Symptoms : Trying to install SQL Server Express edition. During the installation wizard, we see couple of initial screens and then without giving any user input screen to provide instance name etc, the setup advances to the last screen where it...
Microsoft SQL Server Tips & Tricks
Unable to debug Stored Procedure on a Server from the Client Machine
Posted
over 5 years ago
by
Rajesh Setlem
1
Comments
When you try to debug a stored procedure on the server from the client machine, the debugger just runs through the code and does not stop at any executable statement or break-point. The debugger however works locally both at the client and server. No...
Microsoft SQL Server Tips & Tricks
SP_SHOWPENDINGCHANGES WON’T SHOW OUTPUT IF SUBSCRIBER DATABASE NAME IS SAME AS PUBLISHER DATABASE NAME
Posted
over 5 years ago
by
Parikshit Savjani
1
Comments
This blog is targeted to Merge replication. Note: Please note the sp_showpendingchanges is only an estimate and not the actual number of changes so it cannot be used for ensuring consistency. It is based on changes known as per local metadata and doesn...
Microsoft SQL Server Tips & Tricks
Size of the Transaction Log Increasing and cannot be truncated or Shrinked due to Snapshot Replication.
Posted
over 5 years ago
by
Parikshit Savjani
5
Comments
There can be many reasons for the size of Transaction Log growing large for a sql server database such as waiting on checkpoint, backups in Full recovery model, active long running transaction. The simplest and the smartest way to determine the...
Microsoft SQL Server Tips & Tricks
SQL SERVER 2000 INSTALLATION/UNINSTALLATION ISSUES ON STANDALONE/CLUSTERED ENVIRONMENT
Posted
over 5 years ago
by
Parikshit Savjani
1
Comments
Consider a scenario where on an Active Passive Cluster, while uninstalling an instance of sql2000 patched with Service Pack 4, we see the following error after you click next on the screen where we enter the Virtual Server name. 'The specified virtual...
Page 1 of 1 (15 items)