Forrards Blog

130 cents total
Creating Clustered Index on a Table Variable column in MS SQL Server

If you need to create an index in order to improve performance of the queries running against table variable (@temptable) In MS SQL Server you can implicitly create a clustered index on a table variable by defining a primary key or unique constraint, however, it is generally more efficient to use a temporary table. Anyway let`s move on with an option of creating index on a table variable. For example, you need create simple table variable:

Forrards
March 18, 2023
Define SQL Server database permissions for development team

The dba routine includes developer's accounts management. Such as creating sql logins for new developers. There is usually a standard permissions list and database environment for code writing and testing. Let`s try to simplify the process.

Forrards
March 18, 2023
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Subscribe to our blog

                             

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
How to close all active database connections in one shot?

While trying to restore SQL Server database or do any other actions which require exclusive database access you may face with the following error:Exclusive access could not be obtained because the database is in use.

Forrards
March 31, 2023
Consequences of wrong database autogrowth settings

In this article we`re going to address the question about autogrowth settings of the database. To be more precise we`re going to talk about database files settings and their autogrowth settings. From the first glance this seems to be an easy question. But in reality it may cause serious issues in mission critical data systems and even downtime. The goal of the article is to decide whether to set the growth in percents or megabytes and what should be the size of the file growth.

Forrards
March 31, 2023

Let's discuss your project or resource request

                       

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.