Sqlite database non-unique index

Posted on 2009-05-20
Medium Priority
Last Modified: 2012-05-07
I am working on a sqlite database, and I need to create non-unique non-primary keys to help with lookup speeds.

Is this possible to do?  I have seen code to add an index, but not create it with an index.

Question by:TAF2000
1 Comment
LVL 46

Accepted Solution

tbsgadi earned 2000 total points
ID: 24438595
Hi TAF2000,

Use the CREATE INDEX statement without UNIQUE

Good Luck!


Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Blockchain technology enhances society similar to the Internet. Its effects are broad, disruptive, and will boost global productivity.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question