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.
SQL Server 2014: ONLINE operation on a single partition of partitioned object

Here I continue a series of articles devoted to new options in SQL Server 2014. Today let's review another useful operation - ONLINE rebuilding some partitions of partitioned objects (tables or indexes).First let me remind you that some versions of SQL Server (Enterprise, Evaluation, Developer) allow you to perform a number of operations in ONLINE mode. The main advantage of this mode is that we can create / change index and keep on working with the data (including changing these data) at the same time.This happens due to the fact that schema lock (Sch-M) is not retained throughout creation / changing process. Here you can find a more complete list of options supported by different versions:

Forrards
March 30, 2023
SQL Server Enterprise Edition Advanced Scanning

It is widely known that SQL Server Enterprise Edition contains a range of improvements, which under certain conditions allow you to perform operations in a more optimal way in comparison with Standard Edition. One of these improvements is Advanced Scanning, which allows multiple scans to share one physical read from the disk. You can also come across another name of this feature - Merry-go-Round Scan.

Forrards
March 30, 2023

Let's discuss your project or resource request

                       

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