(Jack Vamvas) I use xp_logininfo when working with developers or Operations staff troubleshooting access permissions on a SQL Server database. It is very useful to identify the permission path an Active Directory (AD) based logon will use.
Tag: sql server
Remove Unnecessary SQL Server Transaction Log Files
(Sergey Gigoyan) SQL Server allows to use more than one transaction log file, but the question arises whether it is necessary and what is the benefit of having multiple transaction log files. There is a misconception among some developers that having multiple transaction log files can increase perfo
SQL SERVER – Script: Finding Cumulative IO Per Database File
(Pinal Dave) Sharing SQL Server related scripts is something I tend to do from time to time. At the SQLPass one of the attendees for my session around 42 tips asked, if I have any script that is handy to find the IO utilization per database file because they had couple of scenario’s where such infor
SQL Server 2016 Database Maintenance Plan Improvements
(Rajendra Gupta) What new functionality is available in SQL Server 2016 for Database Maintenance Plans for reindexing, reorganizing indexes and DBCC CHECKDB? Are there any better features to fine tune processes to better manage SQL Server with limited downtime?
Query the Buffer Pool
(Steve Hood) DBAs are known for asking for more memory, but often can’t say what’s in memory. While I agree that many database servers can use more memory, I’m a firm believer in knowing how you’re using your resources before asking for more. The script below allows me to do just that.
#0368 – SQL Server – Myths – Windows Authentication – Windows login name change does not mandate a change to SQL login
(Nakul Vachhrajani) In today’s world, mergers and acquisitions of organizations are a reality. Having been through a couple of M&As in the last couple of years myself, I have had a unique opportunity to experience changes which would not be experienced in the normal course of work.
How to list constraints of a table
(Jack Vamvas) To list sql table constraints you’ll need to use the sys.default_constraints catalogs view. Avoid using the sysobjects view , which is now deprecated.
SQL SERVER – FIX: SQLServerAgent is not currently running so it cannot be notified of this action. (Microsoft SQL Server, Error: 22022)
(Pinal Dave) Getting error and finding the cause is something which I like. And off late over the blogs I have shared a number of such incidents that have helped me figure out stuffs all by myself. Of course, I do my research and more often than not make things complicated because there are a number
Filtering Logged Data
(Jason Brimhall) Over the course of the past couple of articles, I have shown some interesting if not useful functionality in the user interface for working with Extended Event log files. Those articles on merging files and customizing the view can be read here and here.
How to import/store photos with file name and other properties into SQL Server table
(Manoj Pandey) I was tasked to load several thousand of photos into the SQL Server. Those photos are saved in a specific folder. I want to store the file name in one column and the photo in another column. It would take month for me to enter one by one.
