Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8922767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:55:42+00:00 2026-06-15T06:55:42+00:00

I have created a db called AllWords.db in sqlite that contains a list of

  • 0

I have created a db called AllWords.db in sqlite that contains a list of all english words (count:172820). When I issue a select all query, it returns a list of all 172820 words. Also, when I print the count of the table words like this :

SELECT COUNT(*) FROM words;

the output is 172820, so the database clearly has all the words included in it. However, when I try to check if a word exists (the only thing I’ll want to do with this database), it doesn’t print anything :

SELECT * FROM words WHERE word="stuff";

returns nothing.

The database is a single table with the only column being ‘words’, which has all the words as rows. Any help would be greatly appreciated, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:55:43+00:00Added an answer on June 15, 2026 at 6:55 am

    Answering my own question because I figured out what was wrong. To populate the table, I had written a python program to parse a file called words.txt (all words, separated by newlines), into sqlite. My problem was the query turned into :

    INSERT INTO WORDS VALUES('englishWord\n')
    

    And that messed up the database. I fixed that and it started to work, thanks to @ScoPi for the hint with using LIKE, it helped me figure out that there was a stray newline character.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a partial view that I have created called noteEditor. That is rendered
I have created a User called Student and Teacher that can login into the
In Java, I have created a class called Writer that extends It is initialized
I have created a function called billingOptions() it is associated with a dropdown (select)
I have created an NSManagedObject called TItem. To that object, I've added a helper
I have created a page called profile.php that gets a value from mainpage.php, by
I have created a method called isInPoly that receives the x and y coordinates
I have created a class called ShortestTime. I have some functions within it that
I have created an object called Project that has different properties (strings and some
I have created a folder called diagrams in my application. In this folder there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.