Steps to install a stand-alone SQL Server 2017 instance
In this tip we go over the basic steps to setup a new SQL Server 2017 stand-alone instance.
In this tip we go over the basic steps to setup a new SQL Server 2017 stand-alone instance.
One of the most important SQL Server DBA tasks is checking the logical hard drive details such as the total capacity, free disk space, and used space by data and log files of SQL Server databases. In this tip we look at a method to view this information i
I am sure sometimes as SQL Server DBAs and Developers we would like to report on more detailed information about indexes on a table. One of the primary means to find the information is sp_helpindex which is a system stored procedure to check index summar
Many times we need to find important events that occurred on the database server, but we may not always have a process in place to capture this data. In this tip we look at some quick methods to view events that occurred in SQL Server like Shrink, AutoGr
As SQL Server DBAs we may need to generate a script for the creation of all Primary Keys, Unique and Foreign Key constraints. We know with the SQL Server native tools that there is not a way to meet this need all at the same time. In this tip we look at t
Sometimes as a DBA we need to generate a T-SQL script for dropping and creating indexes in our SQL Server databases. However, SQL Server Management Studio does not have an easy way via the wizard to complete these tasks all at the same time. In this tip,
One important task as DBA is to manage security in our database server environments. Part of this is to administer the permissions for each user in each database. Sometimes there are orphaned Users (no login exists for the user) in a database and we may w
In-Memory OLTP is a new feature of Microsoft SQL Server 2014 that was born in response to business and hardware trends. But how fast is it? How we can use it to optimize OLTP transactions? Why it is faster than transactions on disk based tables?
Have you ever had to attach databases on a SQL Server? This could be done using the SSMS GUI which is great if it is a one time thing, but if you have many databases this could take time. The other option is to write T-SQL code to do the attach, but thi
When we are querying SQL Server tables with/without the NOLOCK hint we may get a page corruption error like this: Could not continue scan with NOLOCK due to data movement. Today we will learn how to deal with this issue.
When working with SQL Server replication there are times when you may get critical errors related to the Log Reader Agent. One of these errors is The specified LSN [xxx] for repldone log scan occurs before the current start of replication in the log [xxx
One of the most important aspects in a SQL Server database server environment is security. This includes ensuring no object is dropped or modified as an error or intentionally without proper authorization. Many developers ignore, for example, the sp_MS%