TheConeHead
Programmer
Hey - new to SP's here... OK - I have this:
select datediff(dd, '10/15/2006 12:15:24 PM', getdate())
but I need to change it so the date will actually be a value from another query... so I need a query to:
select udate from main where id = @recordID
I then need to take udate and put it into something like:
select datediff(dd, udate, getdate())
???
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)
select datediff(dd, '10/15/2006 12:15:24 PM', getdate())
but I need to change it so the date will actually be a value from another query... so I need a query to:
select udate from main where id = @recordID
I then need to take udate and put it into something like:
select datediff(dd, udate, getdate())
???
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)