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 |
Explain relational data?
What is analysis service repository?
Explain the new features of SQL server 2000?
What are dml triggers and types of dml triggers?
What is a data collection table?
how to get rank of diffrent student in same table based on newly inserted row in sql server2008
What is merge statement?
How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?
How each E-R model constructs can be mapped to the relational model?
wat wil hapn if we give the both read and deny read permission to user?
How do I view a procedure in sql server?
Explain about system stored procedure?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)