« first day (1373 days earlier)      last day (745 days later) » 

5:12 AM
Sunday
 
5:46 AM
@rene That indeed looks like something beyond my knowledge of SQL.
I roughly see what's going on from the code - but I would not be able to write it myself.
Also the query would become more complex if we would like to be able to get URLs in general. For example, if we wanted @fullUrl do be http://math.uga.edu/~pete/integral.pdf or http://math.uga.edu/~pete/expositions2012.html depending on the post.
I guess looking at the body and checking for something like http://math.uga.edu.*"> or even <a href=".*">` might be able to return all URLs - or only specific URLs.
But still for me (considering the tools I am familiar with) it is much easier to search for the URLs locally - after downloading the relevant posts from the results of a SEDE query (or maybe even using the data dump in some cases).
 
6:11 AM
Yeah, you want to stay away as long as possible from writing T-SQL. It is not only slow but the language itself didnt age well, it is clunky at best by today standards. And you can get a long way with just processing sets. Even if you want to "loop" over a body text a recursive CTE might be preferable. I just wanted to demo for you what "procedural" would look like.
 
 
6 hours later…
12:18 PM
Seems like the SEDE refresh is ... still going, or stalled part-way? data.stackexchange.com/unix/query/848198/…
hmmm, maybe still churning through SO -- I see that has the most recent timestamp
 
 
3 hours later…
3:03 PM
@JeffSchaller better run this query: data.stackexchange.com/unix/query/1239509/… it has better output and tells you where it is at without having to guess
looks complete now to me
 

« first day (1373 days earlier)      last day (745 days later) »