Quantcast
Channel: Lohn Solutions
Viewing all articles
Browse latest Browse all 10

100 Posts

$
0
0

250px-Quill_(PSF) Since April 9, 2007, I’ve posted 100 times now.  I’m a numbers guy, so here’s what it breaks down to…

Declare @startdate date
Set @startdate = '4/9/2007'

Select DATEDIFF(Day, @startdate, getdate())/100.0

11.38 days per post – much smaller number than I thought it would be.  In the future, I’d like to get that number down to 2.5 or so – maybe not cumulatively, but for the next 100 posts…

Here’s the plan then…

Declare @DaysPerPost float,
    @NumberofPosts int
Set @DaysPerPost = 2.5
Set @NumberofPosts = 100

Select Convert(VARCHAR(8), DATEADD(DAY, (@DaysPerPost * @NumberofPosts), Getdate()), 1)

…so on 01/26/11 I should be celebrating post 200. 

My disclaimer for that is that it might not be on this site.  I’d like to get more involved in the SQL community and based on Brent O’s post a couple of weeks ago, Rock Stars, Normal People, and You, I’d like to teach people SQL stuff.  So I’ve got a couple of ideas in the works, but my 1/26/11 – I’ll have 100 more posts that will get me more involved in the SQL Server Community.


Viewing all articles
Browse latest Browse all 10

Trending Articles