Skip to main content

channa

Member since Aug 22, 2010

Recent Blog Comments By channa

  • Ask Ben: Getting A Random Date From A Date Range In SQL

    Posted on Aug 22, 2010 at 5:59 AM

    I did it like that random date betweem 1-9-2009 to 29-1-2010 (between 0 to 150 days) DECLARE @RandomNumber float DECLARE @RandomDayF int DECLARE @MaxDay int DECLARE @MinDay int SET @MaxDay = 150 SET @MinDay = 0 -- random the number of days to add SELECT @RandomNumber = RAND() set @randomDayF = ... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel