declare @i int
set @i = 1999
while(@i<2009)
begin
 declare @sql varchar(8000)
 set @sql = 'update  
 dbo.cltj'+ltrim(str(@i))+'
 set ydw = ''Ten Thousand Tons'''
 set @i = @i+1
 exec(@sql)
end

相关文章:

  • 2022-12-23
  • 2022-01-03
  • 2022-02-19
  • 2021-05-09
  • 2021-12-19
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2021-10-07
  • 2022-02-27
相关资源
相似解决方案