Reply to thread

Ah, thanks.  Unfortunately I ran into a show-stopper.

The online_episodes table was fine - I found and reset all episode watched flags to 0.

However, the 'season' table contains two columns that hold info about watched status - 'UnwatchedItems' and 'EpisodesUnwatched'.  There's also 'EpisodeCount' which contains the # of episodes in the season.

 

UnwatchedItems is a binary value, so I assume it indicates whether there are any unwatched episodes in that season.  That's easy enough to reset.

'EpisodesUnwatched' however is harder - it needs to be reset back to the same value as 'EpisodeCount'.  In other words:

 

Season 3 of Bewitched:

UnwatchedItems = 1

EpisodeCount = 23

EpisodesUnwatched = 4

 

Somehow I need to be able to set 'EpisodeUnwatched' to "23".  Undoubtedly its possible using advanced SQL syntax but its beyond my simple grasp!

 

I assume the same sort of columns exist at the Series level as well.


Top Bottom