PowerShell – Email All Users Connected (Logged In) To A SQL Server Instance

As a DBA, when I have to do an emergency restart of a SQL Server instance or the host itself, the first thing I do is to check who is connected so that I can notify them (at least the ACTIVE users). We do have a system where we keep the app/database/owner information but notifying … Continue reading PowerShell – Email All Users Connected (Logged In) To A SQL Server Instance

Oracle On Windows – Simple Timeout To Crisis To Moving Data Files to Another Drive

Update 2018/11/19: In 12c, you can now do this operation online. Please check out the “ALTER DATABASE MOVE DATAFILE” command which moves the file without you having to copy. Check it out here. I wanted to do a small post on using the DOS command line tool ADRCI to quickly locate problems from the alert log … Continue reading Oracle On Windows – Simple Timeout To Crisis To Moving Data Files to Another Drive