Answer Posted / selvaraj.v
First you Clearly Learn.It's GetDATE() function, Not DetDate
() function.
In SQL Server 2000 Query :
--------------------------
Select GetDate()
Output:
------
2008-01-22 17:37:20.280
Alternate to GetDate() function:
--------------------------------
Select GetUTCDate()
Output:
-------
2008-01-22 17:37:20.280
GetUTCDATE() means Greenwhich Mean Time of Current Date
Time.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to create a view on an existing table in ms sql server?
What are the different SQL Server Versions you have worked on?
Can a database be shrunk to 0 bytes, if not, why?
What is lock escalation and what is its purpose?
What are the different types of indexes?
What does select 1 mean?
Working with TLogs
what types of replication are supported in sql server? : Sql server database administration
Explain rdbms?
what is the maximum size of a row? : Sql server database administration
What are different types of subquery?
What is dbcc command in sql server?
Other than truncate statement, which other command can by-pass the trigger on the tables?
explain what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration
What is difference between views and tables?