Sql Server中把一个变量作为临时表中的字段!(实例)

时间:2022-03-13 14:56:16

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

相关文章