How many index keys possible for a table
Answers were Sorted based on User's Feedback
Answer / anand k
One table can only one clustered index or primary key and
249 non-clustered index or unique key
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / raji
Indexes may be defined as unique or non-unique. A unique
index acts as a constraint on the table by preventing
identical rows in the index and thus, the original columns.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / namz
There can only be one clustered index but multiple non-
clustered index
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / koti
250 indexes(1 cluster index,249 non-cluster indexes)
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / c.jagadish
In sqlserver we have two types of indexes (1) Clustered (2)
non clustered indexes.
Indexes may be simple index or composite index.
Index formed based on single column values is called simple
index
index formed based on multiple column values is called
composite index.
Default index is NON CLUSTERED INDEX
When a table contains a primary key column then sqlserver
automatically creates a unique clustered index.
Unique--- automatically creates a non clustered index
so for this reason PRIMARY KEY IS NOT EQUAL TO UNIQUE + NOT
NULL.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / saravanan
four index keys is possible per one table.
read only table u havae create more then index per table
| Is This Answer Correct ? | 3 Yes | 3 No |
difference between select column name from table name where serviceid=2; and select max(column name) from table name where serviceid=2; IN ORACLE
What are the difficulties faced in cube development? : sql server analysis services, ssas
write query for fourth maximum salary from employee table
14 Answers Mind Tree, SP Software,
what is lazy writer?
how many types of store procedre in sqlserver 2000?
How many categories of data types used by sql server?
Can you explain what are various ways to enhance the ssrs report?
A trigger can reference objects outside the current database? State true or false.
Differentiate between mongodb vs. Sql server?
Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?
Which data type can be used only on OUTPUT parameters of the stored proceduer?
There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?
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)