动态sql语句基本语法1 :普通SQL语句可以用Exec执行 eg: Select * fromtableName Exec('select * from tableName') Exec sp_executesql N'select * fromtableName' --请注意字符串前一定要加N Read More
posted @ 2017-08-02 14:21 Tiger95 Views(7794) Comments(0) Diggs(0) Edit