Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Date functions

$
0
0

 i have two date columns in my sql query editor

those are 

12/3/2012 12.23.11.00 (date 1) ,,,3/6/2013 10.3.0.12 (date 2) with their time stamps

So here i required the O/P is  (I want to get the date from first date 1 and timestamp from second date 2)

The O/P is like 12/3/2012 10.3.0.12

And one more thing is I want also reqired the differnce b/w those 2 dates ............o/p like 1 yerar 3 months 9 days

can some one pls wright these quries and help me.........


Viewing all articles
Browse latest Browse all 24688

Trending Articles