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 | SQL Server Performance Tuning

Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

SQLServer-DBA.com Links

Dba_db2_button

dba-ninja.com

Recent Posts

SQL Server DBA Jobs


September 25, 2024 sys.dm_server_services - How to check if SQL Server service is running or not?

September 05, 2024 Msg 3023, Level 16, State 2 Backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized. Reissue the statement after the current backup or file manipulation operation is completed.

July 26, 2024 Can we restore a database to an older version in SQL Server?

April 30, 2024 How do I save all SQL Agent Jobs

March 11, 2024 How to view SQL Server mount point space without access to server

January 23, 2024 DBCC SHRINKFILE: page could not be moved because it is a work table page.

December 08, 2023 SQL Agent Last Modified explanation

July 20, 2023 Sql certificate chain was issued by an authority that is not trusted

July 10, 2023 sqlserver-dba.com switching from feedburner to follow.it

June 23, 2023 Taking transaction log backup and full back at the same time

June 06, 2023 How do I find hidden files taking up space?

May 26, 2023 How to find all tables with primary key SQL Server

May 17, 2023 How to find UDT on SQL Server columns?

May 03, 2023 Find LOB tables with no PRIMARY KEY

April 17, 2023 Trace flag 902 in SQL Server and Error 574

April 06, 2023 How to find SQL Filtered Indexes

March 27, 2023 Find SQL Server LOB Columns

March 20, 2023 How to find default values of all SQL Server columns

February 20, 2023 Tcp port is already in use.How do I check if a port is already in use?

February 07, 2023 How to find all identity columns in SQL Server

January 09, 2023 What is the difference between Always On Clustered and Always On Clusterless

December 15, 2022 How do I check my cross DB ownership chaining?

November 17, 2022 Disable a SQL Agent Job not working

October 19, 2022 What does it mean when a file is modified?

October 13, 2022 How can I check SQL Agent Job current status ?

October 05, 2022 How to enable SQL Server trace flags at startup

October 04, 2022 SQL Server user roles and permissions query

September 22, 2022 List Foreign Keys referencing tables in SQL Server

September 05, 2022 Does AWS RDS SQL Server support Dynamic Management Views ?

September 02, 2022 What is horizontal partitioning in SQL Server?

August 04, 2022 Reasons for Transaction Log Backup Chain breaking

August 02, 2022 Hashicorp Vault curl for VBA

July 06, 2022 Column-level encryption vs Always encrypted

July 05, 2022 The simple guide to column-level encryption

July 04, 2022 Help with Powershell functions

June 28, 2022 TLS versus MTLS: What is the difference

June 24, 2022 The fundamentals of AWS Cloud Security

June 23, 2022 Privacy Policy

June 21, 2022 TLS v SSL : which should you use

June 20, 2022 How to generate a self signed certificate for SQL Server with New-SelfSignedCertificate

June 09, 2022 How to set up SQL Server Column Level Encryption

May 26, 2022 How to list logins mapped to a database in SQL Server

May 12, 2022 How to drop login on AWS RDS SQL Server without sysadmin using Hashicorp Vault

May 09, 2022 How to get Cluster File Share Witness sharepath with Powershell

May 03, 2022 A simple guide to Transparent Data Encryption in AWS RDS SQL Server

April 25, 2022 A simple guide to Hashicorp and SQL Server Secrets Engine

April 08, 2022 How to fix Warning: The certificate you created is expired

March 30, 2022 SQLCMD uses OLEDB as a client interface

March 15, 2022 A summary of creating a trust relationship between on-premises domain and AWS Directory Service

March 11, 2022 Best practices for running Microsoft Active Directory Services on AWS

March 10, 2022 SQL Server Blocking Reading List

March 09, 2022 How to migrate your SQL Server database to Amazon RDS

March 03, 2022 A simple guide to Microsoft SQL Server Migration Assistant for Access

February 25, 2022 A guide to restore a TDE database backup to another SQL Server Instance

February 23, 2022 Impact on TDE encryption in progress on SQL Server restart

January 24, 2022 Tested TDE with Instant File Initialization on SQL Server databases

January 19, 2022 How to Benchmark SQL Server for a hardware migration

January 13, 2022 How to get members of BUILTIN\ADMINISTRATORS with Powershell

December 21, 2021 How to return the character values based on ASCII character number values

December 15, 2021 How to check SSL encryption is enabled on SQL Server with Powershell

December 14, 2021 How to check Enforce a Password policy is enabled on SQL Server

December 09, 2021 Focus on OLDEST_PAGE as a factor that can delay LOG truncation

December 07, 2021 How to view SQL Server Password Configurations

November 29, 2021 How to detect if the SQL guest account is disabled

November 25, 2021 How to get last logon of user on Domain Controllers using Powershell

November 23, 2021 How to INSERT INTO EXEC with extra column

November 19, 2021 Microsoft Ignite Book of News

November 18, 2021 How to Run SSMS as a different user

November 16, 2021 Automatically Indexing Millions of Databases in Microsoft Azure SQL Database

November 10, 2021 My Top 4 sessions at PASS Data Community Summit 2021

November 09, 2021 How to get the SQL View definition

November 02, 2021 How to copy Powershell data to Clipboard

October 20, 2021 SQL Server 2019 upgrade considerations

October 07, 2021 How to use Database Compatibility to increase your migration success

October 04, 2021 How to start SSMS as a different Windows login

September 23, 2021 How to capture SQL login details with Extended Events

September 15, 2021 How to add members to the Administrators group with Powershell

September 07, 2021 How to view the current Powershell session security permissions

August 31, 2021 How to get Active Directory Group Scope - Local Domain, Global Group, Universal Group with Powershell

August 26, 2021 How to resolve a hostname or ip address with Powershell

August 03, 2021 How can I execute t-sql with a Proxy account

July 29, 2021 AWS-RDS SQL Server limitations

July 26, 2021 Array-based replication versus vSphere Replication

July 14, 2021 How to fix Invalid comparison due to NO COLLATION

July 12, 2021 How to fix BACKUP LOG cannot be performed because there is no current database backup

July 02, 2021 How to recover SSMS auto recover scripts after crash

July 01, 2021 How to capture SQL Server database RESTORE details with Extended Events

June 22, 2021 Installing Ola Hallengren SQL Server Maintenance Solution on AWS RDS

June 21, 2021 Get free disk space for mount points using Powershell

June 14, 2021 How to check SSAS service status with Powershell

June 08, 2021 How to check SSRS service status with Powershell

June 04, 2021 How to get count of GROUP BY columns

June 02, 2021 How to fix operating system error code 80(The file exists.) in SQL Agent Job during BULK LOAD

June 01, 2021 How to check a SQL Server connection is encrypted with SSL

May 28, 2021 5 minutes in a DBA's head - Separating the Application and Database server

May 27, 2021 How to find a module for a powershell cmdlet with Get-Command

May 27, 2021 Banner ads for sqlserver-dba.com

May 24, 2021 How to fix Column in table is invalid for creating a default constraint

May 21, 2021 How to use SORT_IN_TEMPDB to increase your index rebuild performance

May 19, 2021 How to use your DNA knowledge to increase your DBA skills

May 14, 2021 How to fix the SSMS LoaderPackage package did not load correctly

May 11, 2021 How to register an SPN for SQL Server

May 10, 2021 How to get disk capacity from remote server using Powershell Get-PSDrive

April 30, 2021 How does the Service Principal Name process work

April 22, 2021 How to identify the the current user on Powershell

April 20, 2021 How to configure SQL Server static port with Powershell

April 19, 2021 How to capture deadlocks using system_health Extended Events

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 When to use SQL Server 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 on sqlserver-dba.com

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

September 07, 2017 How to find SQL Server Instance Default Path and Instance Default Log Path

September 06, 2017 MS SQL 2016 Management Studio Silent Install

August 24, 2017 Top 30 SQL Blogs & Websites for Microsoft SQL Server Administrators

August 16, 2017 Disaster Recovery Powershell Script to check for failed Windows services

August 09, 2017 How to list Extended stored procedure for public

July 27, 2017 How to add a row in Powershell System.Data.Datatable

July 18, 2017 Service Exit Code 1077 and false negatives

July 14, 2017 Largest FREE Microsoft eBook Giveaway

July 04, 2017 Post disaster recovery SQL Server database checkout script

June 30, 2017 Chinese build the most powerful computer in the world

June 29, 2017 SQL Server and Petya

June 26, 2017 The Reporting Server Instance could not be found

June 22, 2017 Difference between @@servername and SERVERPROPERTY(ServerName)

June 13, 2017 Unable to connect to Microsoft Distributed Transaction Coordinator (MS DTC) to check the completion status of transaction

June 06, 2017 Enable full text search for Msg 7609 Full text search is not enabled or a full text component cannot be loaded

June 01, 2017 How to Check Powershell version

May 16, 2017 5 easy ways to protect SQL Server against Ransomware attacks

May 12, 2017 Msg 15151, Level 16, State 1, Line 1 Cannot alter the login 'Domain\Group', because it does not exist or you do not have permission.

May 10, 2017 Powershell find command and copy a file

May 07, 2017 Windows folder permissions with Powershell Get-ACL

May 02, 2017 Powerhsell Get-ChildItem folders only

May 01, 2017 Read SQL Server Error Logs with Powershell and SMO

April 30, 2017 Ultimate psychology guide - MEMORY

April 25, 2017 Powershell monitor log file for string with select-string and regex

April 19, 2017 Powershell get-childitem and date modified

April 18, 2017 How to write to a sql error to windows server event viewer

April 17, 2017 SQL Server 100 cpu diagnose

April 15, 2017 Script to check if a SQL database has a backup

April 14, 2017 With great ignorance comes great confidence

April 12, 2017 Powershell script to check disk space on remote servers

April 11, 2017 Configurations eating up sql server performance

April 07, 2017 Simple Ideas to improve the life of a DBA

April 06, 2017 How to mount an ISO - Disk Image File

April 05, 2017 Data Migration Assistant for SQL Server 2016 Upgrade

April 04, 2017 Strategies for sql server performance tuning

March 30, 2017 How to write a conditional substring in sql

March 28, 2017 Powershell insert into sql table

March 24, 2017 SQL Server Stuff and comma delimited column

March 20, 2017 Monitoring development v production environment

March 14, 2017 Focus on the DBA basics with the 95 - 5 rule

March 08, 2017 SQL Query to check Vmware cpu and memory overcommit

March 03, 2017 How to check the transaction log size in SQL Server

March 01, 2017 Powershell append to file by joining two files

February 27, 2017 Troubleshootoing performance problems in sql server with sys.dm_os_wait_stats

February 24, 2017 How to check SQL Server AlwaysOn High Availability is enabled

February 23, 2017 Powershell script to report SQL Error Log

February 22, 2017 How to backup the SQL Server SystemResource db – mssqlsystemresource

February 21, 2017 Help command in sql for undocumented commands

February 20, 2017 Resource database in SQL Server SystemResource db - mssqlsystemresource

February 17, 2017 How to shrink tempdb when Event ID 1101 Could not allocate a new page for database 'TEMPDB' because of insufficient disk space in filegroup 'DEFAULT'

February 15, 2017 SQL Memory usage query and cachestore_sqlcp

February 12, 2017 Guiding principles of wait time analysis

February 11, 2017 T SQL Antipatterns - SQL Antipattern #010

February 10, 2017 Windows Server 2012 empty recycle bin

February 07, 2017 Get cumulative update number for SQL Server Version

February 06, 2017 SQL Server uptime query

February 05, 2017 What is causing sql Cache Pressure

February 04, 2017 Ultimate GLOBALISATION guide

February 03, 2017 Helpful sql commands to manage SQL Agent Jobs

February 02, 2017 How to find of the QUOTED_IDENTIFIER used for stored procedure

January 31, 2017 How to get row count for every table in database

January 27, 2017 Skills required for rapid development

January 24, 2017 xp_cmdshell copy – access is denied

January 23, 2017 Will placing a large data column as an index INCLUDE impact sql query performance

January 22, 2017 Backup failures SQLVDI: Loc=CVDS::Close. Desc=Open devices!. ErrorCode=(0).

January 21, 2017 The future of the DBA profession

January 20, 2017 How to shrink SQL Server database transaction log file initial size

January 18, 2017 ASYNC_IO_COMPLETION during sql server backup

January 17, 2017 Microsoft ACE OLEDB 12.0 provider is not registered on the local machine

January 16, 2017 Notes on Performance Tuning very large databases for OLTP

January 15, 2017 Database Tuning Advisor Performance

January 14, 2017 Warren Buffett Billionaire Tips

January 13, 2017 Detach versus Offline

January 12, 2017 How to get FQDN of multiple servers with Powershell

January 11, 2017 How Busy is my SQL Server

January 10, 2017 Error 17836 Length specified in network packet payload did not match number of bytes read; the connection has been closed

January 09, 2017 ERROR 8623 The query processor ran out of internal resources and could not produce a query plan

January 08, 2017 FROM REDCAR TO RUST

January 07, 2017 How to check if a file exists with xp_fileexist

January 06, 2017 Difference between TCP and UDP network protocols

January 04, 2017 A 5 MB hard drive in 1956 needed a forklift

January 03, 2017 How to monitor Blocked Processes with SQL Alert and email sp_whoisActive report

January 01, 2017 The politics of Calais , border control and Brexit

December 30, 2016 Schrodinger’s backup - A warning for DBAs

December 29, 2016 10 most visited pages on sqlserver-dba.com for 2016

December 22, 2016 Privatisation can help upgrade public infrastructure

December 21, 2016 GRANT VIEW DEFINITION to script out tables

December 20, 2016 Limitations of xp_logininfo

December 09, 2016 SQL Server restart times using Powershell

November 30, 2016 Impact of Brexit on IT contractors

November 26, 2016 Using SQL Server Express in Production

November 25, 2016 Social Conformity and questioning authority

November 23, 2016 Display all files in a directory with master.sys.xp_dirtree

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 How to create a Powershell 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 How to use a blank password with SQLCMD

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 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 How to export Excel worksheet columns into a html file with Powershell

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 How to get the SQL 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 SQL 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


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