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 name of reporting services config file and what’s it’s used for?
How do you rebuild an identity column?
What is indexing in sql server with example?
What are logical database components? : SQL Server Architecture
What do you mean by normalisation?
Why SQL Agent is used?
Explain the steps needed to create a scheduled job?
What are the advantages of paper records?
Explain trigger and trigger types?
how you can configure a running aggregate in SSRS?
What is a scheduled job or what is a scheduled task?
Can we shrink data file in sql server?
What is default constraint?
How to create view in stored procedure sql server?
How to see existing views in ms sql server?