SELECT [id] ,[AlarmID] ,[ItemName] ,[isDeleted] ,[Remark] FROM [LjlData].[dbo].[T_BaseDetail] union select 0 ,'','',''--
union 后面的列要和前面一样 而且要类型相同
2024-04-06 10:05:49
SELECT [id] ,[AlarmID] ,[ItemName] ,[isDeleted] ,[Remark] FROM [LjlData].[dbo].[T_BaseDetail] union select 0 ,'','',''--
union 后面的列要和前面一样 而且要类型相同