Return the date and time of the SQL Server:
SELECT SYSDATETIME() AS SysDateTime;
Try it Yourself »
The SYSDATETIME() function returns the date and time of the computer where the SQL Server is running.
SYSDATETIME()
Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!