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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:22:13+00:00 2026-06-16T16:22:13+00:00

I have used Excel and created 2 columns. column1 contains DATES, column2 contains values

  • 0

I have used Excel and created 2 columns. column1 contains DATES, column2 contains values as INT. I have imported the table as a CSV using SQLite Manager. I am connected to the DB and have used it with success for other queries that involved text only. Now I would like to SELECT the INT in column2 that corresponds to the current date displayed in column1. Therefore, everyday when the SQL query is ran it will auto-update based on the new current date. I have used

SELECT column2 FROM table WHERE column1 = CURRENT_DATE

However, it returns null (blank, nothing), whereas if I use

SELECT column2 FROM table WHERE column1 > CURRENT_DATE

it returns the INT in column2 of rowid1, but if I use

SELECT column2 FROM table WHERE column1 < CURRENT_DATE

it returns the INT in column 2 of rowid3.

Therefore, the DB is functioning; however, the problem is it cannot associate the current system date with the right value in column1. Is it possible that the import of CSV. into SQLite has altered the datatype to VARCHAR or something other than DATE and INT?

  • 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-16T16:22:14+00:00Added an answer on June 16, 2026 at 4:22 pm

    SQLite does not have a DATE data type.

    Dates are typically stored as strings (CSV does not have types anyway), and to be compatible with SQLite’s built-in date functions, must be in the format yyyy-mm-dd.

    Before exporting from Excel, ensure that all dates are formatted with this format.

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

Sidebar

Related Questions

I have used Microsoft.Office.Interop.Excel namespace to create excel sheets using C# . I want
I have created a C# DLL to be used from Excel VBA. I compiled
I have successfully used the Excel and Word addin templates in Visual studio 2008
For those of you who have ever used Microsoft Excel in a manner that
It's been a while since I have used VBA on Excel. I want to
G'day, I have never really used excel formulas before but need to convert a
I have used NSSets many times in my apps, but I have never created
I have a pretty big web application that I created last year using ASP.NET
I have created a tool that imports an excel sheet. The excel COM object
I have an excel workbook that is used to track tasks by project. Each

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.