diff --git a/RERUN.sqbpro b/RERUN.sqbpro index 5c66787..882e476 100644 --- a/RERUN.sqbpro +++ b/RERUN.sqbpro @@ -1,4 +1,4 @@ -
UPDATE Posts +UPDATE Posts SET HasNotesGathered = 0 WHERE (BlogName, PostID) IN ( SELECT p.BlogName, p.PostID @@ -14,7 +14,7 @@ WHERE (BlogName, PostID) IN ( ) ORDER BY P.PostDate ASC --LIMIT 500 -);select * +);select * from Blogs --update blogs set HasBeenOutput = 1 where HasBeenOutput = 0 @@ -29,11 +29,11 @@ blogname in 'nudenymph', 'caylachief' -)select RootBlogName, PostID, NoteBlogName || '.tumblr.com' as NoteBlogName, DatetimeCrawled, TimeStamp, type, RootBlogName || '.tumblr.com/post/' || postid, datetime(timestamp, 'unixepoch') +)select RootBlogName, PostID, NoteBlogName || '.tumblr.com' as NoteBlogName, DatetimeCrawled, TimeStamp, type, RootBlogName || '.tumblr.com/post/' || postid, datetime(timestamp, 'unixepoch') from Notes where --type like 'r%' and -DatetimeCrawled <> '2/12/26 12am' -order by DatetimeCrawled desc, TimeStamp descSELECT distinct +DatetimeCrawled <> '2026-04-30 09:25:43' +order by DatetimeCrawled desc, TimeStamp descSELECT distinct blogs.* , blogname || '.tumblr.com' FROM @@ -45,4 +45,4 @@ WHERE order by Notes.Type desc, DateAdded desc -LIMIT 500; +LIMIT 100;