Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Add days to a date

$
0
0

Hi

 

I'm generating some demo data, and in one of the columns I have to insert a random date between 2010-01-01 and 2012-10-01.

 

In regular SQL, I could do something like: DAYSADD(2010-01-01, rand()*1004)

 

As far as I can tell, the is no add days function in BODS 4.0, only an add months function.

 

Can anyone tell me how to achive this or somthing similar?

 

Thanks in advance.

 

/Kris


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>