摘要: USE DataBaseNameGODECLARE @MAXID INTDECLARE @ID INTDECLARE @SQL NVARCHAR(MAX)DECLARE @TableName NVARCHAR(100)SET @ID = 0SELECT TOP 1 @MAXID = id FROM sysobjects WHERE [type] = 'U' ORDER BY id DESCWHIL... 阅读全文
posted @ 2009-08-26 09:04 SmartFramework@live.jp 阅读(228) 评论(0) 推荐(0) 编辑