摘要: 参考地址:http://www.cnblogs.com/xbf321/archive/2008/11/02/1325067.htmlexec('select * from TableName')declare @slideAvg realdeclare @sql1 nvarchar(1000)set @sql1='select @slideAvg=avg(val) from S'+@StationID+'HN where channel_num='''+@channel_num+''' and date_t 阅读全文
posted @ 2013-02-16 17:12 高山-景行 阅读(220) 评论(0) 推荐(0) 编辑