Written by:David Aldridge5/25/2011 3:35 PM
I was working in MSSQL recently and found myself looking for the equivalent of the MySQL now() function. In MySQL, the following would return the current time:select now(); The equivalent in MSSQL is :select getdate(); So for MSSQL getdate() is the equivalent of now().
now()
select now();
select getdate();
getdate()
0 comment(s) so far...