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

    Jun 2, 2010 · These two videos (Clustered vs. Nonclustered Index Structures in SQL Server and Database Design 39 - Indexes (Clustered, Nonclustered, Composite Index) ) are very helpful …

  2. sql server - How do you check if a certain index exists in a table ...

    Apr 22, 2010 · Something like this: SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_NAME …

  3. How to see indexes for a database or table in MySQL?

    Mar 6, 2011 · SHOW INDEXES FROM database_name.table_name; Note that INDEX and KEYS are the synonyms of the INDEXES, IN is the synonym of the FROM, therefore, you can use …

  4. sql - How does database indexing work? - Stack Overflow

    Given that indexing is so important as your data set increases in size, can someone explain how indexing works at a database-agnostic level? For information on queries to index a field, check …

  5. sql - Creating an index on a table variable - Stack Overflow

    May 20, 2009 · In SQL Server 2000 - 2012 indexes on table variables can only be created implicitly by creating a UNIQUE or PRIMARY KEY constraint. The difference between these …

  6. 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 …

  7. What is the difference between OFFLINE and ONLINE index …

    Dec 30, 2024 · The main differences are: 1) OFFLINE index rebuild is faster than ONLINE rebuild. 2) Extra disk space required during SQL Server online index rebuilds. 3) SQL Server locks …

  8. sql server - Generate script of All the indexes in a database - Stack ...

    Feb 1, 2012 · I want to generate a script of all the indexes in a database (Create Index). I don't want the index script along with create table script. how can we generate it in SQL Server …

  9. What columns generally make good indexes? - Stack Overflow

    As a follow up to "What are indexes and how can I use them to optimise queries in my database?" where I am attempting to learn about indexes, what columns are good index candidates? …

  10. Table and Index size in SQL Server - Stack Overflow

    Nov 25, 2008 · Can we have a SQL query which will basically help in viewing table and index sizes in SQl Server. How SQL server maintains memory usage for tables/indexes?