天下站长网
首页
web编程
图形图象
数据库
服务器
站长专区
网络技术
网页设计
认证考试
在触发器中FROM后面如何使用变量
declare @tablename varchar(20)
set @tablename = 'yourtablename'
exec('select * from '+@tablename)
Published At
2006-01-01 14:51 UTC
Categories with
数据库类
Tagged with
SQLServer
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus