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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve Current Date Using SQL

Status
Not open for further replies.

sjuarez1979

Programmer
Jun 26, 2001
35
US
Is there a way to have a variable (IE @Var) in a stored procedure acquire the current date?
sjuarez1979
 
Ok, so I guess I'm smarter than I thought. I guess the little help menu works. This is how it works:

SELECT @NowDate = GetDate()

Is there a good place where all of the functions of that sort are listed?

sjuarez1979
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top