Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 4
Members Members: 0
Total Total: 4

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
  Forum  Microsoft Tech ...  SQL Server  Microsoft SQL equivalent of MySQL NOW() Function
Previous Previous
Next Disabled
New Post 5/25/2011 4:40 PM
119 posts
10th Level Poster

Microsoft SQL equivalent of MySQL NOW() Function 

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().


Previous Previous
Next Disabled
  Forum  Microsoft Tech ...  SQL Server  Microsoft SQL equivalent of MySQL NOW() Function
Send me One Million FREE Guaranteed Visitors