Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Italian language
create table #PostIds ( Id int ) insert into #PostIds select top 500000 p.Id from Posts p where p.PostTypeId = 1 select top 1 Id as [Post Link] from #PostIds order by Id desc