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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:40:43+00:00 2026-05-25T15:40:43+00:00

I am parsing a text document and converting much of the data into a

  • 0

I am parsing a text document and converting much of the data into a relational format. A variety of date formats are used throughout, but one of these is “Fall 1997”.

What would be the best way to go about storing this information, which is non-specific in one sense (not an absolute date), without losing the granularity that “fall” does provide?

As additional info: my specific database is MySQL.

  • 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-25T15:40:44+00:00Added an answer on May 25, 2026 at 3:40 pm

    There are various techniques I’ve seen, but without loading it in straight varchar, you’ll have to decide on the scope. You can use a regular date column containing 1997-09-01 but augment it with a column which indicates the specificity – ‘S’ for season (using the firsts of months 3, 6, 9, 12) ‘Q’ for quarter (using the firsts of months 1, 4, 7, 10) or whatever. Similarly for semesters and things like that.

    When interpreting such dates – particularly in “did this event happen before or after a certain time”, you have to decide how to handle them. Like whether the whole period has to come before a date.

    You can convert such a “date” to an entry in a period table with a description and a start and end date and then link to the period. Then Fall 1997 is a database entity in the sense that it is well defined as a row in a table and other rows have foreign keys to it. This does not remove the need for logic to decide things about these dates, but it does mean that such logic can be table driven.

    It would depend a lot more on the usage scenarios and the variety of data before I would make a call.

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

Sidebar

Related Questions

I'm parsing an XML document into my own structure using DOM, but in another
I need to import a RTF document into a FlowDocument for further parsing.. But
I am parsing text that has a heading and then data that applies to
Apart from just inserting and parsing text into a blank Word field, is there
I've never really done much with parsing text in PHP (or any language). I've
I have a document that I'm parsing text out of - I'm trying to
The problem was: I'm parsing an XML document which validates, but when I try
I am currently scraping some data from the internet and converting into xml documents.
I'm parsing text documents and inserting them into PostgreSQL DB. My code is written
I'm parsing text from a file and storing it in a string. The problem

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.