How does clustered and non clustered index work?
Answer / Amit Ghildiyal
{"clustered_and_non_clustered_index": [n {"name": "Clustered Index", "description": "The data is physically sorted based on the column values in the order specified. Only one clustered index can be created per table and it serves as a primary key."},n {"name": "Non-clustered Index", "description": "The data remains in its original location, but an additional structure is added to reference the rows with specific column values. A table can have multiple non-clustered indexes.", "example": [n {"query": "CREATE NONCLUSTERED INDEX idx_Name ON Table_Name (Column_Name)"},n {"query": "ALTER TABLE Table_Name ADD CONSTRAINT PK_Table_Name PRIMARY KEY CLUSTERED (Column_Name)"}n ]}n]}
| Is This Answer Correct ? | 0 Yes | 0 No |
What is SQL Profiler and the use of it?
What is index fragmentation in ms sql server?
What is the significance of master, tempdb and model databases?
How to create a scrollable cursor with the scroll option?
How to change the ownership of a schema in ms sql server?
Normalization and denormalization
Do you know spatial data types - geometry and geography in sql server 2008?
What do we have to check in database testing?
What is transaction ? Give me one example.
What is CTE in SQL
Describe in brief authentication modes in sql server.
What is the difference between indexing and hashing?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)