Question : Set Current Date Using T-SQL

Is there a command to get the current date of the server using T-SQL?

Answer : Set Current Date Using T-SQL

Hi cawetter:
GETDATE
Returns the current system date and time in the Microsoft® SQL Server™ standard internal format for datetime values.

Syntax
GETDATE ( )

Return Types
datetime



Dabas
Random Solutions  
 
programming4us programming4us