Get Current System Date Time
Answers were Sorted based on User's Feedback
Answer / 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 |
Can we write ddl in trigger?
What are the two modes of authentication in sql server?
What is the difference between composite index and covering index?
How to modify the underlying query of an existing view?
on line cluster can we make if yes tell me the procedure
How to filter records of table in SQL SERVER?
0 Answers Petranics Solutions,
Why we should not use triggers?
Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?
What is the library index called?
What do you do in data exploration
System variable and temporary variables
What types of replication are supported in sql server?