Managing tags on HPR episodes - 2
This is the second show looking at the subject of Managing Tags.
In the first show we looked at why we need tags, examined the present system and considered its advantages and disadvantages.
In this episode we will look at a solution using a separate table of tags.
This is a detailed subject so I have written out a set of longer notes for this episode and these are available here.
- Previous show in this set:
- “Managing tags on HPR episodes - 1” - episode 2245
- HPR web page listing shows missing summaries and tags
- Stack Overflow article about splitting CSV data
- A more detailed article about tags in a database
- HPR show 1965 “Adding SQLite as a datasource to SQLeo”
- Detailed notes for this episode
- SQL to define a ‘
tags’ table, its indexes and code to populate it:
- SQL to perform the emptying of the ‘
tags’ table and its repopulation:
- SQL to find all shows related to a given show using tags:
- Perl script to manage the tag table: