fizzled
Well-known member
I currently have a table (in Access) to store information for articles such as Author, Headline, ArticleText, PostDateTime, etc. In addition to the regular information, these articles can also be considered Active or Archived, so Ive tossed in a true/false IsActive field. Finally, I plan to let the author set an expiration date, ExpDate, for the articles, whereby the article will automatically be considered Archived if it is viewed after the expiration date.
tblArticles:
ArticleID (AutoNumber)
Author (Text)
Headline (Text)
ArticleText (Memo)
PostDateTime (Date/Time)
IsActive (Yes/No, formatted to True/False)
ExpDate (Date/Time)
So my question is this: After looking at the table Ive come up with, Im suddenly wondering if the IsActive field is just a waste of space, albeit a small one. Anytime an author/administrator chose to archive an article, I could simply update the rows ExpDate with the current date (or the date of the previous day, depending how I coded it) and forgo the IsActive check. However, I was also thinking the SQL execution would probably be faster if all Im checking is a boolean field when Im retrieving Active or Archived articles, instead of having to compare the dates on every row.
Does anyone have any thoughts, suggestions, or opinions?
tblArticles:
ArticleID (AutoNumber)
Author (Text)
Headline (Text)
ArticleText (Memo)
PostDateTime (Date/Time)
IsActive (Yes/No, formatted to True/False)
ExpDate (Date/Time)
So my question is this: After looking at the table Ive come up with, Im suddenly wondering if the IsActive field is just a waste of space, albeit a small one. Anytime an author/administrator chose to archive an article, I could simply update the rows ExpDate with the current date (or the date of the previous day, depending how I coded it) and forgo the IsActive check. However, I was also thinking the SQL execution would probably be faster if all Im checking is a boolean field when Im retrieving Active or Archived articles, instead of having to compare the dates on every row.
Does anyone have any thoughts, suggestions, or opinions?