MS SQL DATEADD、DATEDIFF用法 按起止时间自动插入多条记录
MS SQL 自动按起止时间循环插入记录USE [test111]BEGINSET NOCOUNT ON;declare @BitDepth bigint=2748050declare @WellDepth bigint=2748050declare @DataID bigint=0declare @StartDateTime datetime='2021-06-25 00:00:00.000'declare @EndDateTime datetime='2021-06-30 23:5
原创
2021-10-11 19:55:34 ·
264 阅读 ·
0 评论