摘要:
DECLARE @tablename varchar(50)DECLARE @type varchar(50)DECLARE @truncatesql varchar(255)DECLARE TrCun_Cursor CURSOR FORselect [name],[type] from sysobjects where type = 'U' or type='V'--有条件的清空表 name<>'不想清空的表名'--OPEN TrCun_CursorFETCH TrCun_Cursor INTO @tablename,@typeWH 阅读全文
posted @ 2013-01-02 21:44
CoderNet
阅读(291)
评论(0)
推荐(0)

浙公网安备 33010602011771号