Pages

Sunday 16 March 2014

How to get Server Date In MSSQL Server, Oracle and MySQL


I always forget how to retrieve current server date no matter what DBMS environment I am using. It just a simple SQL function but it doesn't resides in my mind. Anyway lets see how do it in MSSQL Server, Oracle and MySQL DBMSs;

Result in MSSQL Server is shown as below; 

MSSQL Server Result
MSSQL Server Result
 

No comments:

Post a Comment