Synonyms in SQL Server are a useful feature that allow developers to create an alias or alternate name for an object in the database. This can be especially helpful when working with complex or large databases, as it allows developers to use more descriptive or intuitive names for objects instead of the default names assigned by the system. There are …

Using Synonyms on SQL Server Read more »

To find the most used data files on SQL Server, you can use the sys.dm_io_virtual_file_stats dynamic management view. This view contains statistics about the I/O activity of all the data files in the database. To use this view, you can run the following query: This query returns the following columns: The query orders the results by the num_of_bytes_written column in …

Query to find the most used data files on SQL Server Read more »

SQL Server is a popular database management system that is widely used to store and manage data in a variety of applications. As with any system that manages sensitive data, security is a critical concern for SQL Server. SQL Server provides a range of security features and technologies that help to protect the data and ensure its confidentiality, integrity, and …

Is Your SQL Server Secure? Read more »

Sometimes it’s hard to explain the value of something through written word so we filmed Steve to explain our Managed Services. Don’t be shy, contact us with any questions. Capitalize on our monthly special get your first 12 months for the price of 10! This month only! Video Transcription: Hi, I’m Steve Stedman and welcome to this short video on …

Our Managed Services Video Explanation Read more »

The SA (System Administrator) account is a predefined account in SQL Server that has full control over the database server. By default, the SA account is disabled and is not associated with a login. However, if the SA account is enabled and given a password, it can be used to connect to the database server and perform any task. There …

Securing SQL Server: Renaming and Disabling the SA Account Read more »

Each month we report on the most common waits that we see reported by our daily monitoring customers. All the data is sanitized, so there is no private client information to expose here. For this month, here are the details. PREEMPTIVE_OS_PIPEOPS CXPACKET OLEDB LCK_M_IS ASYNC_NETWORK_IO XE_LIVE_TARGET_TVF SP_SERVER_DIAGNOSTICS_SLEEP LCK_M_SCH_M LCK_M_IX LCK_M_SCH_S Our daily monitoring product scans your SQL Server hourly and …

Common Waits Reported by Daily Monitoring This Month Read more »

In SQL, a LEFT OUTER JOIN is a type of JOIN operation that combines data from two tables, based on a JOIN condition. This type of JOIN is called an outer JOIN because it includes not only the matching rows from the tables, but also the rows from the left (or first) table that do not have a matching row …

Left Outer Join (Left Join) Read more »

One of the key tasks of a database administrator is to ensure that the SQL Server database is running efficiently and effectively. One way to do this is by using performance tuning techniques, which can help identify and resolve any performance bottlenecks or issues in the database. One performance tuning tip for SQL Server is to use the sys.dm_exec_query_stats dynamic …

SQL Performance – Finding total elapsed time Read more »

To rename a table in SQL Server, you can use the sp_rename system stored procedure. This stored procedure allows you to change the name of an existing table, without having to drop and re-create the table. To use the sp_rename stored procedure, you need to specify the current name of the table and the new name you want to give …

Renaming a Table in SQL Server Read more »

A LEFT OUTER JOIN with exclusion is a type of JOIN operation in SQL that combines data from two tables, based on a JOIN condition, and excludes the rows that match the JOIN condition. This type of JOIN is called an outer JOIN with exclusion because it includes the rows from the left (or first) table that do not have …

Left Outer JOIN with Exclusion Read more »