What is Index ? Explain its Types?
Answers were Sorted based on User's Feedback
Answer / sajjan singh
Indexes are data structures that help SQL Server to find
particular rows of data fastly.
In a database, an index allows the database program to find
data in a table without scanning the entire table.
An index in a database is a list of values in a table with
the storage locations of rows in the table that contain each
value.
Indexes can be created on either a single column or a
combination of columns in a table and are implemented in the
form of B-trees.
Clustered Index: "A clustered index is a special type of
index that reorders the way records in the table are
physically stored.
Therefore table can have only one clustered index. The leaf
nodes of a clustered index contain the data pages."
Non Clustered Index: "A nonclustered index is a special type
of index in which the logical order of the index does not
match the physical stored order of the rows on disk.
The leaf nodes of a nonclustered index does not consist of
the data pages. Instead, the leaf nodes contain index rows."
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / dinesh rathod
Index is a one important concept in .Net. So you should know the basic idea about index in .Net.
| Is This Answer Correct ? | 0 Yes | 1 No |
Which table keeps information about stored procedures?
What do you mean by tablesample?
Differentiate between delete and truncate.
hi i am working as a testengineer , so i want to no the backend data base connection can any one tell mwe in detail
1. SELECT SUM(sal) as “Gross Salary” from EMPLOYEES; 2. SELECT MAX(sal) as “Highest Salary” from EMPLOYEES; ouput should be in table format
Find 2nd Highest salery in emp table Select* from emp where &n= select * count from emp where (salery >=emp.salery) Enter n value 2 These query is correct or not. Tell me any other methods.
How to list all triggers in the database with sys.triggers in ms sql server?
What are the types of subscriptions in SQL Server replication?
How to create a view using data from another view?
What is the difference between HAVING clause and the WHERE clause?
What are the steps you will take to improve performance of a poor performing query?
How to declare and use cursor variables?
Oracle (3259)
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)