Are you sure you want to do this in SQL? Taking 'slices'
of your results isn't very SQL-like, and doing text searches
in the where clause isn't a thing in which SQL shines as well
(since there won't be constraints the engine can use).
Considering the secret of time travel hasn't been discovered
yet, there won't be any new articles of the Campus Newspaper
that will be printed between 1925 and 1980, nor will they become unprinted. Your engine screams for a solution where
the articles are preprocessed, and indexed based on their
content. You know, like google and other search engines do it). That doesn't mean you don't store anything in a SQL
database - in fact, you could still store all your data in
a SQL database. But you wouldn't be doing full table scans,
with full scans of text fields.
Abigail
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.