View previous topic :: View next topic |
Author |
Message |
tammi
Joined: 22 Oct 2004 Posts: 3
|
Posted: Tue Nov 23, 2004 9:35 am Post subject: Now VBScript function SQL Server equivalent? |
|
|
Hi,
I'm looking for a SQL Server function which returns date and time in the same way as the VBScript/ASP Now() function. Does SQL Server has a similar function?
Thanks,
Tammi |
|
Back to top |
|
|
administrator Site Admin
Joined: 01 Oct 2004 Posts: 183
|
Posted: Tue Nov 23, 2004 1:22 pm Post subject: |
|
|
Hi Tammi,
Yes, T-SQL (the SQL Server version of SQL standard language) has a function called GETDATE(), which does exactly what the Now() VBScript function does .
Cheers, _________________ Peter
ASP & ASP.NET Articles and Tutorials |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|