Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Current date

Author  Topic 

Pinto
Aged Yak Warrior

590 Posts

Posted - 2005-12-06 : 06:57:50
Is there a system word for the current date in a stored procedure or do I have to pass it in as a parameter ?

ie

BK_DateRequired <= Today

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2005-12-06 : 07:03:53
bk_DateRequired <= GETDATE()

Duane.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-06 : 07:26:17
More on dates
http://www.sql-server-performance.com/fk_datetime.asp

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -