Clustered and nonclustered indexes in sql server | SQL index | indexing in sql

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2017
  • Video talks about
    what is clustered index in sql server
    what is nonclustered index in sql server
    difference between clustered and nonclustered indexes
    sql clustered index
    sql nonclustered index
    Step by step SQL Training videos
    SQL Tutorial
    for more videos
    / @training2sqlmsbi
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 31

  • @ArunKumar-wf4rf
    @ArunKumar-wf4rf ปีที่แล้ว +1

    Clear explanation on clustered and non clustered index

  • @naveenkumarp9874
    @naveenkumarp9874 ปีที่แล้ว +1

    Super explanation clearly understand the topic😇 really thank you

  • @jasmeetsbhatia7
    @jasmeetsbhatia7 5 ปีที่แล้ว

    Very nicely explained sir.

  • @kadalibhargavi2691
    @kadalibhargavi2691 11 หลายเดือนก่อน +1

    Very clear explanation thankyou sir

  • @asingh.singh70
    @asingh.singh70 2 ปีที่แล้ว +1

    Lovely brother 🙏🙏

  • @hemantkilanje8865
    @hemantkilanje8865 3 ปีที่แล้ว +1

    Plz sir explain how work non clustered index.. How actually background It will create seperate space.. And how I will search key work

  • @durgaprasadchalla6885
    @durgaprasadchalla6885 2 ปีที่แล้ว +1

    super..without any distrubance

  • @RaMeShBaBu-gf1wc
    @RaMeShBaBu-gf1wc 3 ปีที่แล้ว +1

    Super nice explanation ❤️❤️❤️

  • @vishnum7751
    @vishnum7751 6 ปีที่แล้ว +2

    Good article

    • @Training2SQLMSBI
      @Training2SQLMSBI  6 ปีที่แล้ว

      Thanks for your feedback and appreciate your time..

  • @sankarv1651
    @sankarv1651 ปีที่แล้ว +1

    Excellent sir

  • @pvarunkumar8106
    @pvarunkumar8106 2 ปีที่แล้ว

    it's gud. u created the non clustered index, but , u r forgot to call the non clustered index. if u do that , it's better to us, yo know hw it's comes

  • @nickt423
    @nickt423 4 ปีที่แล้ว +1

    @8:04
    I thought you can have a clustered index on only one column. Here you're saying you can have a clustered index on multiple columns?

    • @hemantkilanje8865
      @hemantkilanje8865 3 ปีที่แล้ว +2

      One table have only one clustered index... But we can create clustered index on multiple column ... Like primary key.... Even when we create primary key then clustered index automatically create on that table

  • @MuthuPandi-lw2bl
    @MuthuPandi-lw2bl 4 ปีที่แล้ว +1

    super

    • @Training2SQLMSBI
      @Training2SQLMSBI  4 ปีที่แล้ว

      Thanks a lot for your feedback..
      More videos on the same technology stack ..
      th-cam.com/video/vbp2yPyUf9o/w-d-xo.html
      th-cam.com/video/yUoDrqSRt6A/w-d-xo.html
      th-cam.com/video/QOHxfeJ8VWE/w-d-xo.html
      th-cam.com/video/x5iVbr94FqE/w-d-xo.html
      th-cam.com/video/92OSTvW0Ge8/w-d-xo.html
      th-cam.com/video/DBCCk8Yn7SM/w-d-xo.html
      th-cam.com/video/NmqTJSHN8Ic/w-d-xo.html
      th-cam.com/video/D8uiujYQTxw/w-d-xo.html
      th-cam.com/video/upZsqwxZX2M/w-d-xo.html
      th-cam.com/video/4EvEeN0pUBo/w-d-xo.html
      th-cam.com/video/vwdeItscq7o/w-d-xo.html
      th-cam.com/video/ZTSw89A1ZUg/w-d-xo.html
      th-cam.com/video/sqX62jK0Vc8/w-d-xo.html
      th-cam.com/video/DLn01pA1qcA/w-d-xo.html
      th-cam.com/video/AFsuZ2XGlbg/w-d-xo.html

  • @baradiakshay8812
    @baradiakshay8812 6 ปีที่แล้ว +1

    can we create a cluster index without a primary key

    • @mansoorshaik7263
      @mansoorshaik7263 5 ปีที่แล้ว +2

      Yes you can create a Clustered Index with out a primary key, But when insert any records in a table like this the order of insertion will be same as your insert order ... But when you create Primary key a default Clustered Index will be generated and try to insert the records in any order but SQL Server engine will insert in ascending order (Default)create table test -- with out primary key and creating a clustered index
      ( id int,
      name varchar(100))
      Create Index IX_ID on test(id)
      Insert into test values(2,'a')
      Insert into test values(3,'b')
      Select * from test
      Insert into test values(1,'New')Drop the test table and create again with primary keycreate table test -- With Primary Key
      ( id int primary key,
      name varchar(100))
      Create Index IX_ID on test(id)
      Insert into test values(2,'a')
      INsert into test values(3,'b')
      Select * from test
      Insert into test values(1,'New')

  • @pathanibrahim1132
    @pathanibrahim1132 4 ปีที่แล้ว

    What is the difference between clustered index and unique clustered index. Both are same? Please explain

    • @hemantkilanje8865
      @hemantkilanje8865 3 ปีที่แล้ว +1

      Unique clustered index is nothing but unique constraint. .. It will only uniquely identify records... And we can create multiple unique constraint on one table but one table have only one clustered index

    • @yamalyamal6691
      @yamalyamal6691 ปีที่แล้ว

      @@hemantkilanje8865 nope

  • @akashpatil9865
    @akashpatil9865 ปีที่แล้ว

    can we add multiple columns in non-clustered index?