select ID, DateDiff(yy,GetDAte(),CreationDate) as Age fr...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

--select Top 10 Tags, CreationDate from Posts
--where year(CreationDate)='2017';
--select Tags from Posts;

--select Id, (year(GetDate())-year(CreationDate)) as Age from Users;
select ID, DateDiff(yy,GetDAte(),CreationDate) as Age from Users;

--select Posts.Id, DateDiff(second,GetDAte(),Posts.CreationDate) as DiffSec from Posts
--Inner Join TagSynonyms
--on Posts.OwnerUserId= TagSynonyms.OwnerUserId

--select count(ID) from Posts
--where year(CreationDate)='2017';

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results