DataStax logo
Planet Cassandra Community
  • Support
  • Blog
  • Resources
  • Careers
  • Contact Us
  • Big Data Challenges
    • Overview
  • Customers
    • Overview
  • What We Offer
    • Overview
    • DataStax Enterprise
    • DataStax OpsCenter
    • Support
    • Training
    • Consulting
  • Developer Center
    • Overview
    • Quick Start Guide
    • Documentation
    • Support Forums
    • Developer Blog
    • Tutorials
  • Company
    • About DataStax
    • Management
    • Press Releases
    • In the News
    • Events
    • Investors
    • Partners
    • MVP Program
    • Careers
    • Contact Us
  • Download
    • DataStax
    • Documentation

    Apache Cassandra 1.1 Documentation

    « DROP TABLE
    DROP KEYSPACE »

    DROP INDEX¶

    Back to Table of Contents
    All Documents List

    Drops the named secondary index.

    Synopsis¶

    DROP INDEX <name>;
    

    Description¶

    A DROP INDEX statement removes an existing secondary index. If the index was not given a name during creation, the index name is <columnfamily_name>_<column_name>_idx.

    Example¶

    DROP INDEX user_state;
    
    DROP INDEX users_zip_idx;
    

    CQL Commands

    CQL Commands CQL Shell Commands
    ALTER TABLE ASSUME
    ALTER KEYSPACE CAPTURE
    BATCH COPY
    CREATE TABLE DESCRIBE
    CREATE INDEX EXIT
    CREATE KEYSPACE SHOW
    DELETE SOURCE
    DROP TABLE  
    DROP INDEX  
    DROP KEYSPACE  
    INSERT  
    SELECT  
    TRUNCATE  
    UPDATE  
    USE  
    « DROP TABLE
    DROP KEYSPACE »
    Announcements
    < >
    • DataStax Enterprise 3.0.2 Now Available
    • Three Must-See Exec Talks at the Cassandra Summit
    • You should try and get to the Cassandra summit next month — no, really.
    • Hadoop, Security, and the Enterprise
    • Can Cassandra Handle Your Cloud App? Ask Netflix.

    Big Data Challenges

      Customers

        What We Offer

        • DataStax Enterprise
        • DataStax OpsCenter
        • Apache Cassandra
        • Apache Hadoop
        • Apache Solr
        • Support
        • Training
        • Consulting

        Developer Center

        • Quick Start Guide
        • Documentation
        • Support Forums
        • Developer Blog
        • Tutorials

        About DataStax

        • Management
        • Press Releases
        • In the News
        • Events
        • Investors
        • Partners
        • MVP Program
        • Careers
        • Contact Us

        Download

          Blog

            Resources

            • Tutorials
            • Customer Case Studies
            • Data Sheets
            • Webinars
            • White Papers
            • Videos
            • FAQ
            • Facebook
            • Twitter
            • Google+
            • Bog
            • © 2013 DataStax, All rights reserved.
            • Terms of Use
            • Privacy Policy
            • Site Credits