2009年12月8日
摘要: 有时一个Table有很多列,你需要写一个存储过程,那个Table的参数列表够你写的了。我们可以利用系统表生成这个列表,看T-SQL: select '@' + c.name, col_definition = case t.namewhen 'bigint' then 'bigint,'when 'int' then 'int,'when 'smallint' then 'smallint,'wh... 阅读全文
posted @ 2009-12-08 16:37 PetterLiu 阅读(744) 评论(2) 推荐(0) 编辑