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 6997785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:19:38+00:00 2026-05-27T20:19:38+00:00

I am struck with a problem. I have used sqlite3 for inserting, saving and

  • 0

I am struck with a problem. I have used sqlite3 for inserting, saving and retrieving data. I am aware of the query to retrieve data, i.e

 SELECT * from tableName.

But I have a date saved for every reminder and the format I saved was @”MMMM dd”, it is saved as January 23,March 14 etc. It’s actually in a from that contains a row with textfield. When clicked a date picker appears,with date, month and year. But after selecting the date format displayed would be as mentioned!

I have successfully displayed all the reminders in view all, group wise by using query:

SELECT * from tableName WHERE grp = 'Family'|'Office' etc...

but I have a requirement: In view monthly I need to display month wise reminders based on row(month) selected in picker view.I have tried the following query:

  SELECT * FROM tableName WHERE Date = 'January'

but it is not working but when I give Date = ‘January 17’ it is displaying the reminder, because I have saved a reminder with that date. It cannot be the case because we are not aware of date the user enters exactly. I have gone through several links for the solution. Some came up with a suggestion to save Date as DATETIME,but when I used it, it displayed failed to create table.Now when I deleted the app frm simulator and made it run again,its getting saved.None of the 3 answers below worked,please help me with valuable suggestions,

Can anyone suggest me a query that will do the trick,

Thanks in advance 🙂

  • 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-05-27T20:19:39+00:00Added an answer on May 27, 2026 at 8:19 pm

    I found out the tactic for retrieving data or all rows corresponding to a particular month.

    1. Firstly save the date format as “yyyy-MM-dd HH:mm:ss”

    2. Then retrieve the data of a particular month

    For more information here is the link

    Cheers 🙂

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

Sidebar

Related Questions

I have the following problem: list.c struct nmlist_element_s { void *data; struct nmlist_element_s *next;
Hello I faced the same problem I have 1 broadcast receiver from that I
I have a problem with select returning when there is something on stdin, even
I'm new to wicket and stuck with the following problem: I have a table
Hey I have a problem comparing the value of a CGPoint (struct with two
I am working on a problem and got stuck at a wall I have
I've been stuck on a little unix command line problem. I have a website
Hope to get solution to this problem. I have been stuck on it since
I am writing a wordpress theme, and have run into a fairly basic problem.
I have a problem on the following situation: In my Spring, Hibernate application I

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.