Answer Posted / mohammadali.info
SELECT GETDATE() AS CurrentDateTime
SELECT 'SYSDATETIME' AS FunctionName, SYSDATETIME() AS DateTimeFormat
UNION ALL
SELECT 'SYSDATETIMEOFFSET', SYSDATETIMEOFFSET()
UNION ALL
SELECT 'SYSUTCDATETIME', SYSUTCDATETIME()
UNION ALL
SELECT 'CURRENT_TIMESTAMP', CURRENT_TIMESTAMP
UNION ALL
SELECT 'GETDATE', GETDATE()
UNION ALL
SELECT 'GETUTCDATE', GETUTCDATE()
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between osql and query analyzer?
How to count duplicated values in a column in ms sql server?
What is an indexing strategy?
How to defragment table indexes?
Write a SQL query in order to merge two different columns into single column?
What is stored in the mssqlsystemresource database? : sql server database administration
what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration
Explain what are various ways to enhance the ssrs report?
What are the different types of locks in the database?
How efficient you are in oracle and SQL server?
What is a covering index?
What are sql azure firewall rules?
What is the web service used for reporting services?
Explain left outer join and right outer join?
What are trace flags?