Skip to content
欢迎扫码关注公众号

SQL Server 使用 DATEDIFF 函数来查看毫秒级的执行时间

在 MSSM 中显示的查询耗时是秒级的,没有毫秒。下面是使用 DATEDIFF 函数来查看毫秒级的耗时的方法。

sql
DECLARE @start_time DATETIME, @end_time DATETIME

SET @start_time = GETDATE()

-- exec some sqls

SET @end_time = GETDATE()

SELECT DATEDIFF(MS, @start_time, @end_time) AS [耗时(毫秒)]

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.