我的SQL Server 2017中有以下表格: CREATE TABLE [dbo].[sync_versions]( [id_device_type] [bigint] NOT NULL,[version_stamp] [nvarchar](50) NOT NULL, CONSTRAINT [PK_sync_versions但是,以
(((IIf(IsNull(Production!Product_Title) Or Production!Product_Title Like "Process*",
"Not Started", "Started"))="Not Started") And ((Person.Type) Is Not Null
我正在尝试使用Cast(context_info as varchar(128))从sys.dm_exec_会话中获取信息,如下文所示:但是,对于某些行,context_info列是空的。有人知道这是为什么吗?select cast(context_info as varchar(128)) as ci,* where program_name like '%Dynamics%'
这是输出,我不