• Skip to main content
  • Skip to primary sidebar

DBA Diaries

Thoughts and experiences of a DBA working with SQL Server and MySQL

How to Transfer Logins to Another SQL Server or Instance

September 15, 2012 by Andy Hayes 9 Comments

transfer logins between sql server servers or instances

With any server migration, ideally you want things to run smoothly and re-creating SQL Server logins and passwords from scratch is not something you really want to or should be doing. I am currently involved in a complete server replacement for one of our SQL Server clusters. In this environment, mixed authentication is enabled. Back in the day when I was learning about … [Read more...] about How to Transfer Logins to Another SQL Server or Instance

How to Determine SQL Server Version Number In Various Ways

September 1, 2012 by Andy Hayes 1 Comment

sql server version number

It's important to be able to determine SQL Server version number. DBA's need to know what SQL Server version numbers they are supporting so that during patching windows, they can source and apply the correct patches or service packs. This information is useful as a reference to what issues may be contained in a certain build that could affect production. The DBA can quickly … [Read more...] about How to Determine SQL Server Version Number In Various Ways

Free Ebook Downloads

August 27, 2012 by Andy Hayes 5 Comments

sql server developer edition is free

Everyone likes free ebooks right? Well Eric Ligman, Director for Partner Experience at Microsoft and has very kindly provided a large number of free ebooks to download. Amongst the 80+ titles, there are several Microsoft SQL ebooks as well as titles on Sharepoint, Windows Phone, Windows Server 2012, Microsoft Dynamics, virtualization and many more. Here is the SQL e … [Read more...] about Free Ebook Downloads

Querying INFORMATION_SCHEMA

July 14, 2012 by Andy Hayes 2 Comments

dbcc sqlperf

This post applies to both MySQL and Microsoft SQL Server as both these products allow you to query something called INFORMATION_SCHEMA. What is INFORMATION_SCHEMA? It is database metadata. In MySQL, there is a complete virtual database dedicated to it called “information_schema” and in Microsoft SQL Server, there are views which you can query, all prefixed with INF … [Read more...] about Querying INFORMATION_SCHEMA

Auditing SQL Server Logins

June 30, 2012 by Andy Hayes 1 Comment

auditing sql server logins

Auditing SQL Server logins is done by way of writing audit information to the SQL Server Logs found under "Management->SQL Server Logs" in Management Studio. In order to enable auditing of SQL Server logins, a simple operation needs to be performed by changing settings in the properties of the SQL Server. Auditing levels vary. It's possible to audit just failed logins, … [Read more...] about Auditing SQL Server Logins

« Previous Page
Next Page »

Primary Sidebar

Categories

  • All Articles (84)
  • Career Development (8)
  • MySQL Administration (18)
  • MySQL Performance (2)
  • SQL Server Administration (24)
  • SQL Server News (3)
  • SQL Server Performance (14)
  • SQL Server Security (3)
  • SQL Tips and Tricks (21)

Top 10 Popular Posts

  • Using sp_change_users_login to fix SQL Server orphaned users
  • MySQL SHOW USERS? – How to List All MySQL Users and Privileges
  • How to shrink tempdb
  • How to Transfer Logins to Another SQL Server or Instance
  • How to Delete Millions of Rows using T-SQL with Reduced Impact
  • T-SQL – How to Select Top N Rows for Each Group Using ROW_NUMBER()
  • New T-SQL features in SQL Server 2012 – OFFSET and FETCH
  • How to Kill All MySQL Processes For a Specific User
  • Using exec sp_who2 to help with SQL Server troubleshooting
  • How to fix “conversion failed when converting date and/or time from character string”

Recent Posts

  • How to fix “conversion failed when converting date and/or time from character string”
  • Using SQL GROUPING SETS for Multiple GROUP BY Queries in a Single Query
  • How to Setup MySQL Master Master Replication
  • How To Use SQL to Convert a STRING to an INT
  • How to set up MySQL Replication Tutorial

Search

Connect

  • Twitter
  • Facebook
  • RSS

About

  • Cookie Policy
  • Disclaimer
  • About
Copyright ©