天天看點

表變量、臨時表(with as ,create table)

1.declare @t table(CountryRegionCode nvarchar(3))

insert into @t(CountryRegionCode)  (select CountryRegionCode from person.CountryRegion where Name like 'C%')