haitao: 游标可以fetch到每个变量 [阅读: 521] 2007-04-19 04:36:39 另外还可以: set @sql = 'select a, b, c from tablename where id=2' set @sql='insert into yourtable '+@sql yourtable是你自己定义的,字段名自然知道了