Sql Server中把一个变量作为临时表中的字段!(实例)
declare @con_id varchar(1000)='c1'--变量值
select @con_id as con_id,xlbh from lines
declare @con_id varchar(1000)='c1'--变量值
select @con_id as con_id,xlbh from lines
Sql Server中把一个变量作为临时表中的字段!(实例)
declare @con_id varchar(1000)='c1'--变量值
select @con_id as con_id,xlbh from lines
select @con_id as con_id,xlbh from lines