2009年8月31日
摘要: 在同一个Sql Server中建了两个数据库 dbA,dbB。怎样操作两个数据库中的表呢?我想了个办法,存储过程如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->use[dbA]//在数据库A中操作ifobject_id('tempdb..#tempTable')isnotnull//判断是否已经存在临时表'#tempTable'Begindroptable#tempTable//如果存在,则先删除Ends 阅读全文
posted @ 2009-08-31 15:59 sevenLu 阅读(746) 评论(0) 推荐(0) 编辑