About 9,870,000 results
Open links in new tab
  1. indexing - What is an index in SQL? - Stack Overflow

    Jun 2, 2010 · An index is used to speed up the performance of queries. It does this by reducing the number of database data pages that have to be visited/scanned. In SQL Server, a …

  2. sql - How to use index in select statement? - Stack Overflow

    Jul 6, 2011 · 140 Lets say in the employee table, I have created an index (idx_name) on the emp_name column of the table. Do I need to explicitly specify the index name in select clause …

  3. sql server - What do Clustered and Non-Clustered index actually …

    In SQL Server, the primary key constraint automatically creates a clustered index on that particular column. Non-Clustered Index - A non-clustered index doesn’t sort the physical data …

  4. sql server - Multiple Indexes vs Multi-Column Indexes - Stack …

    Indexes in SQL Server 2005/2008 – Best Practices, Part 1 Indexes in SQL Server 2005/2008 – Part 2 – Internals One thing to note, clustered indexes should have a unique key (an identity …

  5. sql - Query to check index on a table - Stack Overflow

    Nov 25, 2009 · I need a query to see if a table already has any indexes on it.

  6. sql server - What are the differences between a clustered and a …

    Sep 18, 2008 · Both types of index will improve performance when select data with fields that use the index but will slow down update and insert operations. Because of the slower insert and …

  7. sql - When should I use primary key or index? - Stack Overflow

    May 20, 2010 · When should I use a primary key or an index? What are their differences and which is the best?

  8. List of all index & index columns in SQL Server DB

    Apr 20, 2009 · How do I get a list of all index & index columns in SQL Server 2005+? The closest I could get is: select s.name, t.name, i.name, c.name from sys.tables t inner join …

  9. sql server - IndexOf function in T-SQL - Stack Overflow

    Given an email address column, I need to find the position of the @ sign for substringing. What is the indexof function, for strings in T-SQL? Looking for something that returns the position of a

  10. sql - How do composite indexes work? - Stack Overflow

    I've created composite indexes (indices for you mathematical folk) on tables before with an assumption of how they worked. I was just curious if my assumption is correct or not. I assume …