Through Microsoft SQL Server we have the possibility to send emails either for some alerting or so that we can send reports. In this article we will see step by step how it works and how to activate Database Mail... read more
How to Text Search Documents Stored in Database Table in SQL Server Using Full-Text Index
In SQL Server we have the possibility to store files such as docx, xlsx, XML, etc. in table fields. To search for words in these fields, a full table scan would have to be performed, but there is also the solution of creating... read more
How we create a failover group in Azure Managed Instance
In a Managed Instance with multiple databases in Azure we can have high availability. More specifically, we can have an asynchronous second read-only Managed instance in the same or in a different region. We can at any time do… read more
Why doesn't SQL Server use all CPU Cores?
Having a SQL Server Instance installation we can face the following strange situation, while there is a need for CPU usage that never reaches this 100%. In the article we will see what may be the reason and how... read more
What is collation and how it changes in SQL Server
In one sentence, collation is the way characters are encoded in a database. That is, you define whether they will be case sensitive (uppercase, lowercase), in which language the varchar and text fields are. Fields like nvarchar which are in unicode format are not affected… read more
How to see what operations a query performs to complete it in SQL Server (Execution Plan Operators)
To run a query on SQL Server, the Query Optimizer takes information such as the query, database schema, statistics and derives the optimal way to access them. The result is called Plano or otherwise… read more
How can we store docx, xlsx, jpg, xml, etc. files in a database table? in SQL Server
In SQL Server we have the ability to store files such as Docx, Xlsx, XML, JSON, JPG, PNG etc. in a field of a database table. In this article we will analyze how this is done and how it is done... read more
How can we see the historical snapshot of a table in SQL Server using Temporal Tables (aka Row Versioning)
Coming from the SQL Server 2016 version, SQL Server brought the ability to view a table historically over time. That is, to have a row versioning in the table with the possibility to choose the time we want. read more
What are Columnstore Indexes and when do we use them in SQL Server
In this article we will analyze the difference between a table that is physically stored via a Clustered Rowstore Index and one that is stored via a Clustered Columnstore Index. What exactly are Columnstore Indexes, when should they be used and what are… read more