H
hason
Unregistered / Unconfirmed
GUEST, unregistred user!
table1
a1 a2 a3 a4
1 aa1 bb1 cc1
2 aa2 bb2 cc2
有沒有像下面的用法:
declare @v char(2)
for i=1 to 4
begin
select @v='a'+inttostr(i)
select @v from table1 --@v 字段名
end
a1 a2 a3 a4
1 aa1 bb1 cc1
2 aa2 bb2 cc2
有沒有像下面的用法:
declare @v char(2)
for i=1 to 4
begin
select @v='a'+inttostr(i)
select @v from table1 --@v 字段名
end