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 get nth highest salary from employee table.
How can you ensure that the database and sql server based application perform well?
What are the commands used in DCL?
Your table has a large character field there are queries that use this field in their search clause what should you do?
What is bulkcopy in sql?
hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.
What is the recommended total size of your memory optimized tables?
How to add additional conditions in SQL?
What do you understand by recursive stored procedure?
What is sleeping status in sql server?
What is the difference between createstatement and preparedstatement?
How to run queries with sql server management studio express?
What do you understand by a view? What does the with check option clause for a view do?
What is model database in sql server?
What is the command used to check locks in microsoft sql server?