Sqlserver-dba.com - SQL Server support and SQL Server Performance Tuning
    SQL Server DBA:Everything | DBA Scripts | Powershell Scripts | DBA checklists | SQL Antipattern | Wait Stats |

Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

Email Jack Vamvas at jack@sqlserver-dba.com

Daily & Exclusive Content

Delivered by FeedBurner

SQLServer-DBA.com Links

Recent Posts

Full list of SQL Server articles posted


September 20, 2019 How to view all Powershell commands on a server

September 19, 2019 Should Developers manage database read status

September 18, 2019 How to read and parse the Microsoft SQL Server extended event log file xel file

September 17, 2019 How to import JSON file into a SQL recordset with OPENJSON

September 09, 2019 How to troubleshoot SPN and SQL Server Windows return code: 0x2098, state: 15

September 05, 2019 How to troubleshoot Alter Database Failed SQLSTATE 42000 Error 3023

August 29, 2019 Service Broker needs to access the master key in the database - Error-28054

August 27, 2019 How to uninstall a SQL Server 2016 Cumulative Update

August 21, 2019 Recovery is writing a checkpoint in database

August 05, 2019 How to check Enforce password expiration is set for SQL Login

July 26, 2019 How to fix Powershell Execution Timeout Expired with CommandTimeout

July 25, 2019 Powershell script - Get the total table count of all databases in multiple SQL Server Instances

July 24, 2019 How to get SQL Server database object count using Powershell Measure-Object

July 23, 2019 Powershell script for unattended install of SQL Server standard patches

July 04, 2019 How to check the SQL sa Login is disabled

May 22, 2019 DELETE FROM OPENQUERY

May 15, 2019 Get Windows OS version using t-sql

May 14, 2019 Powershell assign a drive and mount point

April 25, 2019 Difference between High Availability and Disaster Recovery

April 03, 2019 SQL Server Sysadmin Audit Report Powershell script

March 27, 2019 Does SQL Server install Visual Studio components

March 25, 2019 Powershell script to find SQL Server Instances on a Server

March 07, 2019 Powershell script function for disk free

March 04, 2019 Get Server Total Physical Memory with Powershell

February 19, 2019 How to start SSMS as Administrator

February 18, 2019 How to troubleshoot Avamar backup issues with avsql command line

February 07, 2019 How to unzip in Powershell

February 07, 2019 How to unzip in Powershell

January 31, 2019 Check SQL Agent Job Exceution Status and Messages Generated with a sql script

January 29, 2019 Could not clear 'DIFFERENTIAL' bitmap in database - Error: 3041, Severity: 16, State: 1.

January 23, 2019 Scripting variable not defined error during batch job

January 10, 2019 Service Broker - When to use for synchronizing databases

January 04, 2019 How to capture errors from SQLCMD

January 03, 2019 SQL Server Agent Top Tips

January 02, 2019 Difference between ORIGINAL_LOGIN() and CURRENT_USER

December 31, 2018 SQLSERVER-DBA.COM most read posts in 2018

December 28, 2018 The transaction log for database is full due to LOG_BACKUP

December 18, 2018 Day 2 Operations - Are you ready?

December 18, 2018 Guiding principles for new technologies and database servers

December 06, 2018 How to get SQL port number using xp_readererrorlog

December 03, 2018 Astronauts are taught this six-stage decision making process

November 28, 2018 Connection failed - SQL Server Error 772 - TCPIP Socket

November 23, 2018 TLS , SQL Server and powershell cmdlet - Get-TLSCipherSuite

November 22, 2018 Msg 9772, Level 16, State 1 - The Service Broker in database "xxxx" cannot be enabled because there is already an enabled Service Broker with the same ID.

November 05, 2018 Query VMWare vCenter VCDB database for guest power state = OFF

October 18, 2018 How to find the local tcp port used on SQL Server

October 05, 2018 SQL Server database roles and GDPR

October 03, 2018 Checking compatibility for a SQL Server database migration to Azure with sqlpackage.exe

October 01, 2018 How to enable MSDTC XA transactions with Powershell

September 26, 2018 How to create a graph table in SQL Serevr 2017

September 14, 2018 How to use parsename with SERVERPROPERTY('productversion')

September 09, 2018 Unable to start services after patching - msdb110_upgrade.sql' encountered error 574, state 0, severity 16.

September 07, 2018 How to convert sys.master_files size column into GB

September 04, 2018 Disaster recovery and database recovery error preparation

September 03, 2018 Hacker Habituals

August 29, 2018 Powershell Script - Backup SQL databases to a remote drive

August 28, 2018 Backup a SQL database to a remote drive

August 23, 2018 How to find a SQL schema owner name

August 10, 2018 Manipulate a SQL recordset row with ROW_NUMBER,CTE and CASE

August 01, 2018 Jack Vamvas CV

July 18, 2018 Connect SQL Server to AS400 with a Linked Server

June 26, 2018 Most important SQL Server wait types

June 22, 2018 How to search a different Active Directory Domain with Powershell Get-ADGroupMember

June 21, 2018 How to check a SQL Login is part of the SYSADMIN role

June 14, 2018 select current_user shows dbo

June 06, 2018 How to check if RECURSIVE TRIGGERS are enabled using t-sql

June 06, 2018 How to check if RECURSIVE TRIGGERS are enabled using t-sql

June 04, 2018 INSERT BULK in Profiler trace

May 31, 2018 How to enable SQL Server Service Broker

May 29, 2018 How to create a Linked Server for SQL Server to PostgreSQL

May 25, 2018 How to find computed columns on a SQL Server table

May 24, 2018 How to open Task Scheduler by cmd

May 10, 2018 Migrate SQL Server Reporting Services database from SSRS 2012 to SSRS 2016

May 08, 2018 SELECT 1 FROM TABLE

May 05, 2018 How create a drive to a network share with Powershell New-PSDrive

May 04, 2018 Change Data Capture

May 02, 2018 How to get the AD groups of a login with sys.login_token

April 30, 2018 Troubleshooting SQL Server Database Mail not sending emails

April 28, 2018 Databases on the Cloud

April 27, 2018 Use cases for NULLIF

April 25, 2018 How to script CREDENTIALS for SQL Server migration

April 13, 2018 Global platforms and local developer community differences

April 12, 2018 Should I use SQL Change Data Capture for data audit ?

April 09, 2018 Alter database compatibility on all databases in a SQL Server Instance

April 06, 2018 Attempted to read or write protected memory.This is often an indication that other memory is corrupt

March 20, 2018 UPDATE STATISTICS GETTING SLOWER

March 06, 2018 Msg 16955 – Could not create an acceptable cursor

February 16, 2018 SQL Server , Meltdown and Spectre FAQ

February 08, 2018 How to calculate last time Wait Statistics were cleared

January 20, 2018 Wait Stats

January 01, 2018 How to get DOMAIN login name with Powershell Get-ADGroupMember

December 30, 2017 Top 10 most popular SQL Server articles for 2017

December 14, 2017 Powershell input parameter via command line

December 08, 2017 SQL Server Agent Job History Log Not showing any rows

December 05, 2017 Error: 17300, Severity: 16, State: 1. (Params:). The error is printed in terse mode because there was error during formatting. Tracing, ETW, notifications etc are skipped.

November 27, 2017 Type Conversion may affect cardinality estimate in query plan

November 24, 2017 How to list CLR objects inside a SQL Server database

November 14, 2017 Automatic Index Tuning by default on Azure sql server

October 26, 2017 Cumulative Update 5 for SQL Server 2016 SP1

October 20, 2017 Separating the Application and Database server

October 18, 2017 How to disable a database user

October 14, 2017 SSRS migration and renaming the ReeportServer database

October 12, 2017 How to change SQL Server 2016 Database default locations for data and log files

October 02, 2017 Troubleshooting SQL CLR memory pressure

October 01, 2017 Advertising options

September 21, 2017 12 factor app and database services

September 13, 2017 How to add a user-defined SQL Server error message and send message to the Windows event log

November 15, 2016 Powershell script - Get the SQL Server Instance status with Get-Service

November 15, 2016 Disadvantages of using sp_MSforeachdb

October 29, 2016 How to find Longest running queries in SQL Server

October 29, 2016 Global Population Growth, Box by Box Ted Talk

October 12, 2016 How can I tell if hyperthreading is on Windows 2012

September 20, 2016 How to schedule Powershell Script with Task Scheduler

September 06, 2016 Lots of NULL values can cause trouble

September 05, 2016 ALTER INDEX REBUILD clears sys.dm_db_index_usage_stats

September 02, 2016 7 mistakes DBAs make on CV or resume

September 02, 2016 5 ways globalisation has impacted IT

September 01, 2016 Is a LOG BACKUP allowed on a SIMPLE RECOVERY database

August 31, 2016 How to turn AUTO_SHRINK off

August 29, 2016 7 Essential Steps to Recover a Corrupt SQL Server Database

August 26, 2016 DBA vacancy at Travelers - UK based

July 22, 2016 Get Last Windows boot up time with Powershell

July 20, 2016 How to list Domain Controllers in a Domain with nltest

July 11, 2016 Hypothetical Indexes

July 05, 2016 Microsoft Enterprise Advantage Licensing on MPSA

July 04, 2016 Query to find non – sargable sql statements – SQL Antipattern #009

June 30, 2016 Set owner failed for database an exception occurred in smo - Msg 15110, Level 16, State 1, Line 1

June 29, 2016 BT and Oracle cloud link up

June 24, 2016 Danger of maintaining SQL backup copies in different locations

June 06, 2016 Trace flag 610 and High performance data loading

May 27, 2016 How to check my SQL permissions

May 25, 2016 Troubleshooting SQL Server Service Broker

May 21, 2016 Show me the wait stats

May 06, 2016 SQL Service hanging with Change Pending Error

April 15, 2016 Msg 8116 - Argument data type sql_variant is invalid for argument 1 of function

April 13, 2016 Powershell script – Function to return server disk capacity

April 12, 2016 How to reduce THREADPOOL wait type

April 05, 2016 Are you sleeping enough? Take the sleep test

April 04, 2016 Principle of Least Privilege

March 30, 2016 Forceseek table hint to the rescue

March 24, 2016 SQL Server Backup – Restore vs Detach – Attach : which method is faster?

March 23, 2016 How to monitor progress of Online Index Rebuild

March 22, 2016 How to monitor progress of Offline Index Rebuild

March 21, 2016 How to check SQL Server password policy

March 20, 2016 Increase speed of a NOT EQUAL operator and a workaround using a computed column

March 19, 2016 How to delete millions of rows in batches

March 18, 2016 How to create a table in another FILEGROUP using SELECT INTO

March 17, 2016 How to complete an INSERT in batches for large data sets

March 14, 2016 How to understand CXPACKET wait type resource description in Sys.dm_os_waiting_tasks

March 13, 2016 The 90 – 90 rule – SQL Antipattern #009

March 12, 2016 How to create a DBA skills matrix

March 11, 2016 How to audit DML statements based on server principal name

March 09, 2016 What is acceptable database server performance testing

March 08, 2016 New Database request checklist

March 07, 2016 Managing security for SQL restores

March 06, 2016 How to use xp_readerrorlog parameters to search SQL Error Logs

March 05, 2016 Lockard Principle and database theft

March 04, 2016 How to fix - Lock request timeout period exceedd Error 1222

March 03, 2016 How to use GO command for multiple execution of sql statements

March 02, 2016 How to add a sql table to a different FILEGROUP

March 01, 2016 Powershell script: Powershell equivalent of Linux top

February 29, 2016 Is AntiVirus Software required on a SQL Server

February 28, 2016 Premature optimization - SQL Antipattern #008

February 27, 2016 How to use Deductive and inductive logic for sql troubleshooting

February 26, 2016 SSMS Query Options – Discard results after execution

February 24, 2016 SQLCMD and blank password

February 23, 2016 How to get the sql object name using the Resource Id

February 21, 2016 3 ways to identify an expert

February 20, 2016 Top 5 SQL Server Forums

February 19, 2016 3 methods to get the drive sizes with Powershell

February 18, 2016 How use Powershell Get-Service on a remote server without Powershell Remoting

February 16, 2016 SQL Script - How to find type of objects filling TempDB

February 15, 2016 Accidental complexity - SQL Antipattern #007

February 14, 2016 Top 4 Best SQL Editors

February 12, 2016 10 most popular sqlserver-dba posts for 2015

February 11, 2016 VM Snapshot Backup Review for databases

February 10, 2016 Powershell Script : How to copy a file on a remote share to a remote server

February 09, 2016 The economics of performance tuning

February 08, 2016 5 database subjects I'm researching

February 07, 2016 Performance Tuning by Committee - SQL Antipattern #006

February 06, 2016 Troubleshooting - Msg 845 - Time-out occurred while waiting for buffer latch type 3

February 05, 2016 Powershell Script - How to find Event Log entries for IO problems that could cause database corruption

February 02, 2016 How to capture DML for a single logon on database audit specification

February 01, 2016 Natural key versus Surrogate key on a 1 column table

January 31, 2016 DBA jokes

January 30, 2016 DRY or WET – SQL Antipattern #005

January 28, 2016 What does the FILE clause mean during a SQL Restore

January 27, 2016 Powershell Script – How to get windows logs events with Get-WinEvent for a date range

January 26, 2016 How to Audit user DML with SQL Server Extended Events

January 25, 2016 How to troubleshoot Flush Cache error message in SQL Server Logs

January 24, 2016 The future of jobs – 5.1 million job losses and the superstar economy

January 22, 2016 Blind Faith versus Test Oriented programming – SQL Antipattern #004

January 21, 2016 How to find VMWare ESX Host event messages using VPXV_EVENTS

January 18, 2016 SQL Script : How to find Nested Loops in Execution Plans for a specific table

January 17, 2016 SQL Silver Bullets and Easy Fixes - SQL Antipattern #003

January 16, 2016 The practise of Hard Coding – SQL Antipattern #002

January 15, 2016 How to spot a SQL Antipattern

January 14, 2016 How to copy a table from one database to another database

January 13, 2016 How to query Active Directory with xp_logininfo

January 12, 2016 Powershell Script – How to export Excel worksheet columns into a html file

January 11, 2016 How to list constraints of a table

January 09, 2016 How can I escalate a database issue

January 09, 2016 Fix: –NESTING_TRANSACTION_FULL wait type and how to reduce it

January 08, 2016 SQL Script - How to get the table size, index size and last user update

January 07, 2016 3 ways to have fun with DBCC PAGE

January 06, 2016 Why is SQL Server executing DBCC CHECKDB against my database at startup?

January 05, 2016 Troubleshooting ImpersonateSecurityContext in RING_BUFFER_SECURITY_ERROR

January 04, 2016 How to predict DBCC CHECKDB finish time

January 03, 2016 3 reasons to get help from the DBA

January 02, 2016 SQL Indexed View limitations

January 01, 2016 SQL Server Fix : - The media family on device xxxxx.bak is incorrectly formed. SQL Server cannot process this media family. Msg 3241, Level 16, State 7, Line 1

December 31, 2015 How to find sql transactions with large logs

December 29, 2015 How to fix System.OutOfMemoryException when using SSMS

December 28, 2015 How to return a character string from a sql datepart using DATENAME

December 26, 2015 How to deal with unexpectedly large transaction log files

December 22, 2015 VM Memory balloon performance counters

December 18, 2015 How to Generate a Perfmon System Diagnostics Report

November 30, 2015 Missing CLR data types on client - Microsoft.SqlServer.Types - geography and geometry

November 19, 2015 How to Calculate the size of sql results in KB?

November 17, 2015 Precalculated SQL Views data

October 31, 2015 7 Twitter Feeds every SQL Server DBA should follow

October 29, 2015 10 million passwords unmasked

October 28, 2015 5 websites that will make you a better SQL Server DBA

October 16, 2015 Using NULL as an ordinary value in sql code - SQL Antipattern # 001

October 14, 2015 Object Dependency in SQL Server

October 12, 2015 5 tricks to boost DBA productivity

October 05, 2015 How to understand the RING_BUFFER_SCHEDULE_MONITOR

September 29, 2015 How to create a temporary Stored Procedure using TempDB

September 14, 2015 sp_WhoIsActive utility for SQL Server troubleshooting

September 02, 2015 Performance Tuning – The wrong way

August 07, 2015 Powershell Add-Content – How to add another query result to an existing html report

August 01, 2015 Find Table Scans in Query Plan Cache

July 28, 2015 Memory grants and execution plans

July 24, 2015 Database has more than 1000 virtual log files which is excessive – informational message 9017

July 15, 2015 How to find CurrentClockSpeed and MaxClockSpeed using Powershell Get-WmiObject win32_processor

July 10, 2015 SQL Server Install Checklist

July 03, 2015 Find Windows pagefile location through command line and wmic

June 24, 2015 How to list all SQL Server Caches and use DBCC FREESYSTEMCACHE to clear

June 16, 2015 SQL Server gets slower until I restart

June 10, 2015 How to encrypt a file with AES encryption

June 09, 2015 How to find the SQL Server service pack is installed

June 05, 2015 Detach database breaks the DIFFERENTIAL backup chain when READ ONLY

June 02, 2015 Error 16955 – Could not create an acceptable cursor . Dynamic cursors and DISTINCT KEYWORD

May 29, 2015 How to troubleshoot Error 2601 Cannot insert duplicate key row in object '%.*ls' with unique index '%.*ls'. The duplicate key value is %ls.

May 28, 2015 Error 18456 State 5 Invalid User ID and managing failed logins

May 27, 2015 SQL Server Security Violations Report for t-sql tuesday

May 20, 2015 Error 7983 - User '%.*ls' does not have permission to run DBCC %ls for database '%.*ls'

May 19, 2015 How to automate Sql Server Configuration Manager settings

May 15, 2015 Troubleshoot SQL Security Error Ring Buffer Recorded - System Health

May 12, 2015 SQL Server Configuration Manager from Command Line

May 08, 2015 INSERT SELECT into existing table

May 06, 2015 dotNet framework 3.5 is a SQL Server 2012 prerequisite

May 05, 2015 Find database users mapped to db_owner role

May 04, 2015 What is First Normal Form, Second Normal and Third Normal Form

May 02, 2015 SMB 3.0 and SQL Server reading list

April 30, 2015 How to find the SQL Server Service Account

April 29, 2015 How to fix : Operarator used tempdb to spill data during execution warning

April 28, 2015 Backing up the tail log

April 27, 2015 How to use ISO-8601 for date and datetime

April 25, 2015 New database or new instance

April 25, 2015 Inside Google Data Centers

April 24, 2015 Execute permission was denied on the object

April 21, 2015 Security audit for SQL public role

April 16, 2015 The Agile DBA

April 07, 2015 Implicit conversion of data types in the query engine

March 30, 2015 Powershell script to report SQL Database Status

March 21, 2015 Researching FlashCopy Manager for backup and restore management

March 12, 2015 Find high IO read and write SQL Queries and display query plan

March 04, 2015 Execute Sp_table_privileges on all SQL Server instance databases

February 25, 2015 How to check UAC – User Account Control is enabled or disabled

February 19, 2015 Connect to SQL Server using port number

February 16, 2015 Xp_cmdshell – the most dangerous extended stored procedure on the planet

February 12, 2015 DROP SCHEMA script for multiple sql database users

February 06, 2015 The transaction log for database is full due to ACTIVE_TRANSACTION

February 03, 2015 How to crack the SQL Login password from sys.syslogins

February 02, 2015 OFFLINE Database files not deleted when DROP DATABASE is executed

February 02, 2015 Detach and Offline for moving databases

January 27, 2015 How to List SQL logins and database user mappings

January 25, 2015 Index column order in Index Missing Feature

January 24, 2015 Query VMWare vCenter VCDB database for guest and host details

January 14, 2015 How to select tables in a schema using sysobjects

January 13, 2015 Msg 15138 - The database principal owns a schema in the database and cannot be dropped.

January 10, 2015 How to tune every query

January 07, 2015 The EXECUTE permission was denied on the object sp_enum_dtspackages

January 06, 2015 Script to change database owner to sa for all user databases

January 03, 2015 Ask the Duck Your Question

January 02, 2015 SQL Injection Defence

January 01, 2015 Hot trends in database server management for 2015

December 29, 2014 Top 10 most active posts for SQLServer-DBA.com in 2015

December 26, 2014 How to go from New DBA to Advanced DBA

December 25, 2014 Database Performance Tuning Jobs

December 25, 2014 Bad indentation in stored procedures

December 24, 2014 Drop sysadmin with ALTER SERVER ROLE and DROP MEMBER

December 23, 2014 Interview with Author on essential SQL

December 15, 2014 bcp - export and import data on SQL Server

December 10, 2014 List all NT group logins with Powershell

December 08, 2014 Century of the System and managing complexity

December 06, 2014 Failure inserting into the read-only column and SET IDENTITY_INSERT ON

December 03, 2014 Simple example of WHILE loop to iterate through sys databases

November 25, 2014 BULK INSERT and ROLLBACK

November 18, 2014 Read a script file into Powershell CommandText with get-content

November 14, 2014 How to manage the IS_GRANTABLE security risk

November 11, 2014 How to decide on the Primary Key

November 10, 2014 Encrypting data in SQL Server

November 09, 2014 Isolate top waits for server instance since last restart or statistics clear

November 07, 2014 How to list all CLR objects and associated procedures

November 03, 2014 List all SQL jobs in Job Activity Monitor with Sp_help_job

October 15, 2014 How to Script database role permissions and securables

October 13, 2014 Help Women At Risk in Bulgaria

October 09, 2014 Connect SQL Server 64 bit to odbc 32 bit

October 07, 2014 How to get the DNS API permissions in CLR assembly

October 04, 2014 Definition of a scalar value in a relational database

October 03, 2014 xp_cmdshell whoami – Determine which Windows Account is used

October 01, 2014 Where to maintain data integrity rules?

September 25, 2014 List enabled status of SQL Server Agent Jobs

September 23, 2014 How much free memory on the server?

September 22, 2014 How to find Active tables without a clustered index

September 20, 2014 Last known good backup – Assumption is the mother of all xxxx ups

September 17, 2014 How to choose Internet Explorer 64 bit version

September 16, 2014 Script to DROP CONSTRAINT and ADD CONSTRAINT for all CHECK CONSTRAINTS

September 15, 2014 Msg 5075 - The database collation cannot be changed if a schema-bound object depends on it

September 14, 2014 Full Recovery without Log Backups

September 13, 2014 Query Tuning cannot be taught over forums

September 10, 2014 Troubleshoot SDDDSM error messages

September 09, 2014 SQL Server DBA Checklists

September 07, 2014 Best of sqlserver-dba-com

September 06, 2014 How to List Task Scheduler Eventlog with messages using Powershell

September 05, 2014 Using the tcp: prefix for SQL Server connections : Force use of TCP protocol

September 04, 2014 Find the Root cause of a SQL Server Performance downgrade

September 03, 2014 Error 3621 - The statement has been terminated

September 01, 2014 Find database corruption with msdb.dbo.suspect_pages

September 01, 2014 SQL Server Memory: Any size page allocator replaces single and multi-page allocator

August 31, 2014 Delete a huge amount of data from a SQL Server table

August 29, 2014 Generate query results and attach to email using SQL Server Database Mail

August 29, 2014 How to output Query results to text file using bcp and queryout

August 27, 2014 How to start SQL Performance Tuning

August 27, 2014 DBA daily study habits

July 29, 2014 Msg 3257 :There is insufficient free space on disk volume during SQL Server Restore

July 15, 2014 Find SQL deprecated features with sys.dm_os_performance_counters

July 11, 2014 How to backup a single table with data in a database

July 10, 2014 Warning: Failure to calculate super-latch promotion threshold

July 04, 2014 Compatibility error when using MERGE. Incorrect syntax near 'MERGE'.

July 01, 2014 Perfmon SQL Server Deprecated Features Object

June 30, 2014 Troubleshoot high disk activity with STATISTICS IO

June 27, 2014 The specified DSN contains an architecture mismatch between the Driver and application

June 26, 2014 How to Export Active Directory Group Members with Powershell Get-ADGroupMember

June 23, 2014 Measuring SAN Performance with Avg Disk Transfer and disk bytes per second

June 19, 2014 How to Reduce the WRITE_COMPLETION wait type

June 17, 2014 How to identify the Primary Transaction Log file on a SQL Server

June 11, 2014 How To restore to lower SQL Server version

June 09, 2014 Business Objects versus SSRS

June 06, 2014 Export multiple Excel worksheets to a single SQL Server table

June 04, 2014 How to use sxstrace.exe – diagnose side-by-side errors

June 03, 2014 Predictability is the key to scalability

May 30, 2014 Difference between sys.objects and sysobjects

May 28, 2014 How to schedule a SQL Server Agent Job to execute once a year -(Annually)

May 27, 2014 Connect SQL Servers without using Linked Servers – OPENROWSET and OPENDATASOURCE

May 21, 2014 SQL Server RUNNABLE – SUSPENDED – RUNNING status model

May 19, 2014 How to drop a SQL column and find foreign keys with sp_fkeys

May 15, 2014 How to Predict SQL Server Performance

May 10, 2014 How to reduce DBMIRROR_EVENTS_QUEUE , DBMIRROR_SEND, DBMIRRORING_CMD, DBMIRROR_DBM_MUTEX wait types

May 08, 2014 Use Powershell Get-Hotfix to get all hotfixes on Windows server

May 06, 2014 How to get a list of software installed on a server using Powershell

April 30, 2014 How to install the Active Directory Module for Windows Powershell

April 28, 2014 Hide instance of SQL Server

April 26, 2014 Continual Improvement or kaizen

April 23, 2014 How to find SQL License type

April 20, 2014 Error 3266 : How to troubleshoot Error 3266 during a Restore

April 17, 2014 How to SET and check READ_COMMITTED_SNAPSHOT

April 16, 2014 What are your data needs?

April 09, 2014 List columns using INFORMATION_SCHEMA

March 25, 2014 Creating a Disaster Recovery Plan

March 24, 2014 Error 5171 – mdf is not a primary database file

March 21, 2014 Troubleshooting BACKUPTHREAD wait type

March 19, 2014 Troubleshooting Error: 18452, Severity: 14, State: 1

March 17, 2014 Troubleshooting PREEMPTIVE_OS_LOOKUPACCOUNTSID wait type

March 12, 2014 SQL 2012 datetime rounding issue

March 11, 2014 Non-sysadmin permissions to create or edit an SSIS package

March 07, 2014 DIRTY_PAGE_POLL and how to avoid it

March 04, 2014 Database server Sizing matters

February 26, 2014 Indexes - The downside

February 22, 2014 How to determine who deleted a SQL Server database

February 11, 2014 The Pencil question – Great interview question

February 06, 2014 Assume failure and Resiliency testing

February 03, 2014 Heaps - Tables without a clustered index

January 30, 2014 VLDB and Zeroing out

January 29, 2014 Compatibility Level

January 28, 2014 OLAP performance tuning

January 20, 2014 Regular SQL Server Backup Review

January 16, 2014 How write the a SQL Server agent Job status to the Windows Application log

January 14, 2014 Operations team and sql server permissions

January 09, 2014 TempDB - setting the initial size

January 07, 2014 SQL Schedulers disabled

January 06, 2014 Msg 229 Level 14 State 5 - SQL VIEW permissions and underlying tables

January 03, 2014 WITH RECOMPILE option and stored procedure

January 02, 2014 Elevated database permissions

January 01, 2014 Tuning expert makes SQL Server faster

January 01, 2014 2014 for Database Servers

December 30, 2013 Top 10 SQL Server articles for 2013

December 12, 2013 Sp_configure

December 06, 2013 No database backup

December 02, 2013 List Sysadmins – SQL Server security

November 26, 2013 Number of deadlocks since last SQL Server restart

November 23, 2013 Find sql queries matching wait types

November 11, 2013 SQL Server lab requirements

November 05, 2013 SQL Server Tuning method for a drop in throughput

October 10, 2013 DAC and Server is in single user mode – Error 18461

October 09, 2013 Find WorkingSet size with Powershell get-process

October 04, 2013 Troubleshooting SQL Transaction Log performance

October 02, 2013 Use SQL Materialized view to eliminate DISTINCT and speed up response time

September 23, 2013 SQL login is locked out – how to check status with T-SQL

September 18, 2013 SQL DATA FILE AUTOGROW performance troubleshooting

September 16, 2013 Error: 0x202b State 15 The SQL Network Interface library could not register the Service Principal Name for the SQL Server service

September 11, 2013 Find column data types using sys.types and sys.syscolumns

September 09, 2013 Monad Manifesto – required reading for Powerhell users

September 06, 2013 Last time Index was rebuilt

September 05, 2013 Nonclustered Index Seek Operator needs leftmost key in query

September 03, 2013 Full text rebuild option – and SQL Server performance

August 28, 2013 scan for startup procs Option – when to use

August 27, 2013 SQL Server papers every DBA should read

August 26, 2013 Powershell FAQ for the SQL Server DBA

August 22, 2013 View DTS packages with Powershell – DTS to SSIS planning

August 21, 2013 Msg 15173 - Login has granted one or more permission(s). Revoke the permission(s) before dropping the login.

August 19, 2013 I/O is frozen on database. No user action is required

August 14, 2013 Find who made a database name change with Object:Altered

August 03, 2013 SQL Server 2012 SSIS upgrade considerations

July 29, 2013 Calculate the Size of Index

July 24, 2013 Calculate sql row size

July 22, 2013 Troubleshoot Error 701 - There is insufficient system memory to run this query

July 19, 2013 How to create a clickable link in Powershell

July 17, 2013 Change the port for sql server service broker

July 12, 2013 How to Install SQL Server service pack silently

July 11, 2013 How to Configure static ports for SQL Server

July 09, 2013 Exception based reporting

July 08, 2013 TechEd Europe 2013 lessons learnt :SQL Server 2014,powershell,performance,automation

July 05, 2013 Keep it simple!

July 03, 2013 Find the permission path of a Windows logon with XP_LOGININFO

July 02, 2013 How to perform an in-place upgrade of Powershell

June 26, 2013 Encrypting sa passwords during SQL Server Installation

June 25, 2013 Expand your Powershell mind – Three key cmdlets

June 25, 2013 Expand your Powershell mind – Three key cmdlets

June 24, 2013 Manage SQL Agent jobs without sysadmin

June 21, 2013 Sushi , daily habit, productivity and DBA

June 19, 2013 String Replace in text file with Powershell

June 18, 2013 Forgotten sa password

June 17, 2013 Sql server installation is either corrupt or has been tampered with error getting instance id from name

June 12, 2013 Find Weak passwords in SQL Server

June 10, 2013 Event ID 55 : The file system structure on the disk is corrupt and unusable on volume

June 06, 2013 Career in DBA

June 05, 2013 Error 3254 – The volume on device BACKUP_PATH is empty

June 04, 2013 SQL auto close - Keep it turned off

May 31, 2013 Windows Pagefile size for dedicated SQL Servers

May 30, 2013 SQL Database Corruption

May 29, 2013 max server memory and sql server memory – why is total memory greater than max memory?

May 24, 2013 Shredding XML with Powershell and SQL Server

May 23, 2013 Task Manager not showing correct SQL Server memory usage

May 22, 2013 The value of training and How to convince your boss

May 17, 2013 SQL Error 1204 - cannot obtain a LOCK resource at this time

May 16, 2013 Multi-statement table valued function and inefficient Excecution Plan

May 15, 2013 SQL Server Export to Excel with Powershell

May 14, 2013 Who dropped the table in SQL Server

May 13, 2013 List sql database roles

May 11, 2013 SQL Execution Plan - Comparing Estimated Rows and Actual Rows

May 09, 2013 DCOM got error "Logon failure: unknown user name or bad password” Event 1004

May 08, 2013 SQL Server Triggers and Performance

May 07, 2013 SQLServerAgent could not be started (reason: Error creating a new session)

May 06, 2013 Performance Tuning - Save hundreds of hours

May 04, 2013 Amount of sql server processors with sys.dm_os_schedulers

May 02, 2013 Functions and WHERE clause and suboptimal query plans

May 01, 2013 Number of physical processors with Powershell – number of cores

April 29, 2013 Cross db ownership chaining and security holes

April 26, 2013 Top 5 habits of Performance Tuning Experts

April 25, 2013 CPU 100% - Check for Parallel Queries

April 24, 2013 List files in Creation Time order with Powershell

April 23, 2013 Index Rebuild without logging

April 22, 2013 SQL Lock Escalation FAQ

April 18, 2013 Blocked Process Report and how to read

April 17, 2013 SQL sp_executesql versus EXECUTE

April 13, 2013 Types of software testing

April 11, 2013 Backup database job with SQL Server Agent

April 08, 2013 Get rowcount of all sql tables

April 05, 2013 Data Execution Prevention

April 03, 2013 Manage Transaction Logs during Index Rebuild

April 02, 2013 SQL Database Size report using Powershell

April 01, 2013 MEMORYCLERK_SQLGENERAL and sql memory memory usage

March 30, 2013 SQL Backup and Restore to UNC

March 27, 2013 Memory objects allocated by SQL Server

March 25, 2013 Error 18456 - State 5 - SQL Login Failed

March 22, 2013 Sp_updatestats RESAMPLE option

March 19, 2013 DataFileType will be assumed to be widechar because the data file has a Unicode signature

March 18, 2013 DBA - Database Architect - Data Architect - What’s the difference ?

March 14, 2013 Troubleshooting Timeout error -2146232060

March 14, 2013 Database stuck RESTORING

March 13, 2013 Place data definition statements at top of stored procedure – DDL

March 12, 2013 Select all SQL Server Functions


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer