Creating clustered and non-clustered indexes

345 views Asked by At

I was going through the topic of CLUSTERED INDEX & NON-CLUSTERED INDEX, and I gained some pretty good knowledge about how they work and their effect on performance. The very next thought I had was, "HOW TO CREATE THESE INDEXES? and, DO THEY GET CREATED AUTOMATICALLY WHILE CREATING UNIQUE KEY or/and PRIMARY KEY?" WHAT CASES CAN I COME ACROSS IN FUTURE, RELATED TO DEFINING/REDEFINING OF THESE INDEXES?

Please help me with that. Thanks in advance!

Also, these above questions came to my mind after reading these on MSDN pages one & two.

1

There are 1 answers

0
Sander On

You already found these two pages on Microsoft Docs ("MSDN" or "Microsoft Developer Network" would be the old name):

Some of the answers to your questions are also available on Microsoft Docs: