Alternative way to DetDate() function?

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


Please Help Members By Posting Answers For Below Questions

What is the security principal at the database level that represents your session?

542


what is checksum in sql server.........???

1211


What is the sql case statement used for? Explain with an example?

544


Explain the usage of floor function in sql server.

508


can an automatic recovery be initiated by a user? : Sql server administration

524






You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

493


How to filter out duplications in the returning rows in ms sql server?

641


Explain indexing and what are the advantages of it?

531


What are the 7 disadvantages to a manual system?

516


What is a cache in ssrs?

110


How to optimize stored procedure optimization?

521


How to create indexed view?

587


How would you go about developing a ssrs report?

110


What are the properties and different types of sub-queries?

569


What is primary key and example?

509