Quantcast
Channel: Microsoft SQL Server Tips & Tricks
Browsing all 30 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

HOW TO DETECT SQL SERVER INSTANCES / FEATURES INSTALLED ON A MACHINE

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...

View Article


Image may be NSFW.
Clik here to view.

HOW TO TERMINATE SQL JOBS AFTER CUT-OFF PERIOD

NOTE: This method should not be attempted on the following jobs: Ø  Reindex Ø  Update Statistics Ø  Replication Ø  Backup How many times have we encountered a SQL job which runs for a long time (more...

View Article


Image may be NSFW.
Clik here to view.

SQL FTS IFilters, its security implications and troubleshooting PDF Filter...

Today I am going to talk about FTS IFilters, its security considerations and some basics on troubleshooting issues with PDF Filters. Read on and be enlightened… What is a Word-Breaker? It is a...

View Article

Image may be NSFW.
Clik here to view.

How to find who is using / eating up the Virtual Address Space on your SQL...

Well, this is often a tricky situation, where you are running into Virtual Address Fragmentation and getting OOM (out-of-memory) errors in your SQL Server. More often than not there is confusion...

View Article

Image may be NSFW.
Clik here to view.

Database Mail failing with “The service queue "ExternalMailQueue" is...

Some of you may experience problems while using Database Mail on SQL Server 2005 or SQL Server 2008 which will not be able to send emails to the database users. The SQL Server error logs will log...

View Article


Image may be NSFW.
Clik here to view.

Configuring Database Mail failing with error - @no_credential_change is not a...

Recently we have encountered the following error message while configuring Database Mail in SQL server 2005. Create new account 'XXXX' for SMTP server 'XXXX' (Error) Messages Unable to update account...

View Article

Image may be NSFW.
Clik here to view.

How to move FDLAUNCHERRORLOG from one location to another in SQL 2008

If you have migrated your Database\Instance or if the drive holding the SQLdata has been decommissioned, then in those scenarios how do you move the SQL Full-text Filter Daemon Service Error Log...

View Article

Image may be NSFW.
Clik here to view.

INF: SQL Security - Restricting access to public on server/database objects,...

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...

View Article


Image may be NSFW.
Clik here to view.

Troubleshooting Error 511 using XEvents

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...

View Article


Image may be NSFW.
Clik here to view.

Upgrade to SQL 2008 from 2005 (cluster) fails with The cluster group 'SQL...

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...

View Article

Image may be NSFW.
Clik here to view.

Sometimes Replication Monitor shows number of Undistributed Transactions as a...

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...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Backup Simulator

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...

View Article

Image may be NSFW.
Clik here to view.

SQL Server could not create a subscription for Subscriber...

Recently we worked on a support case where creation of a Subscription was failing with the following error:- TITLE: New Subscription Wizard ------------------------------ SQL Server could not create a...

View Article


Image may be NSFW.
Clik here to view.

Your SQL Server Setup may hang forever when it’s almost at the 99 %!

Consider this scenario, I rebooted several times, disabling my favourite antivirus and still unable to get a clue from all the logs possible. I start looking at my favourite blogs and here I am. Check...

View Article

Image may be NSFW.
Clik here to view.

Troubleshooting : Error: 8624, Severity: 16, State: 21. Internal Query...

Sometimes we see the below error in SQL Server 2008 R2 SP1 when executing a query in SQL Server Management Studio: ————————————————————– Error: 8624, Severity: 16, State: 116. Internal Query Processor...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2014 Setup Error: ‘BIDS’ is not a valid value for setting ‘FEATURES’

SQL Server Data Tools (a.k.a. SSDT) used to part of product installation media in SQL Server 2012. We can install it by selecting "SQL Server Data Tools" from shared features section. Alternately we...

View Article

Merge Replication: Expired Subscription Clean Up Job /...

  Issue: If you have a Merge Replication, you may encounter the below error message thrown by Expired Subscription Cleanup job (sp_expired_subscription_cleanup) with a mention of conflict table of an...

View Article


Image may be NSFW.
Clik here to view.

Script level upgrade for master database failed

  In this post I would like to explain one of the interesting issues that I encountered while upgrading a SQL Server Instance. Symptoms · SQL Server instance is upgraded using a service pack or any...

View Article

Image may be NSFW.
Clik here to view.

Capture successful logins: You may see many entries(high volume) when you...

  When you are auditing successful logins attempts using SUCCESSFUL_LOGIN_GROUP action group through SQL Audit, you will see that there will be too many entries in the audit file. You may see this...

View Article

Image may be NSFW.
Clik here to view.

Common issues faced while configuring AlwaysOn listener on Azure VM cluster

We have MSDN article [Tutorial: Listener Configuration for AlwaysOn Availability Groups (http://msdn.microsoft.com/en-us/library/dn425027.aspx) which provides detailed steps to configure AlwaysOn...

View Article
Browsing all 30 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>