Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I find Today 1

Status
Not open for further replies.

Cecass

Technical User
Jan 14, 2005
4
GB
I want to put a age query in an MSSQL database
I know the birthday but can not find a way to enter today's date for a DATEDIFF statement.
Can anyone help?
 
Code:
select GETDATE()

[bandito] [blue]DBomrrsm[/blue] [bandito]

[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top