SQL Server Non-Clustered Index Design

A Non-clustered index is built using the same 8K-page B-tree structure that is used to build a Clustered index, except that the data and the Non-clustered index are stored separately. A Non-clustered index is different from a Clustered index in that, the underlying table rows will not be stored and sorted based on the Non-clustered... » read more

SQL Server Clustered Index Design

The clustered index can be beneficial for the queries that read large result sets of ordered sequential data. In this case, the SQL Server Engine will locate the row with the first requested value using the clustered index, and continue sequentially to retrieve the rest of rows that are physically adjacent within the index pages with the correct... » read more

SQL Server Index Design Basics and Guidelines

Workload type Before creating an index, you should understand the workload type of the database. On Online Transaction Processing (OLTP) database, workloads are used for transactional systems, in which most of the submitted queries are data modification queries. In contrast, Online Analytical Processing (OLAP) database workloads are used for data warehousing systems, in which most of... » read more

Adding Primary Key to Existing Table

If you want SQL Server to automatically provide values for the new column, make it an identity. Note: this will add a new column at the end of the table. You will need to recreate the table if you want the new PK column to be the first column. There is a way around this... » read more

Docker

Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.

Microsoft Blazor

Blazor lets you build interactive web UIs using C# instead of JavaScript. … Both client and server code is written in C#, allowing you to share code and libraries. Blazor is a feature of ASP.NET, the popular web development framework that extends the .NET developer platform with tools and libraries for building web apps. Blazor is a Single Page... » read more

Create Primary Key with Cluster Index

The following example creates a table and defines a primary key on the column TransactionID in the AdventureWorks database. PAD_INDEX PAD_INDEX = { ON | OFF } Specifies index padding. The default is OFF. ON: The percentage of free space that is specified by fillfactor is applied to the intermediate-level pages of the index. OFF or... » read more

Primary Key for Table

All tables with Primary Key All tables missing Primary Key t.type – object type: Table View c.type – type of constraint: Primary key Unique key Foreign key Check constraint Default constraint

Changing Password On Another Domain

Start a Remote Desktop Connection to one of the servers on the domain. When logging into the server, the domain must show that domain. If it doesn’t, select ‘Use a different account’ and enter domain01\username01. Once logged in, press Ctrl-Alt-End and select ‘Change a password.’