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 a transaction and what are acid properties? : Sql server database administration
How to use subqueries with the in operators in ms sql server?
How do you create a data source?
define and explain the differences between clustered and non-clustered indexes.
What is the ‘fillfactor’?
What is a database in ms sql server?
can you implement data mining in SSRS?
What is a unique key constraint?
What are the different Authentication modes in SQL Server and how can you change authentication mode?
Can you explain important index characteristics?
Do you know what are the reporting services components?
What is a recursive stored procedure in sql server?
Why do we use sql limitations? Which constraints can we use while making a database in sql?
What is an indexing technique?
Can you roll back the ddl statement in a trigger?