摘要: 方法一:select serverproperty('productversion') ,serverproperty('productlevel') ,serverproperty('edition')输出:10.50.1600.1 RTM Workgroup Edition下表是 SQL Server 2008 版本号信息:SQL Server 2008版本号 SQL Server 2008 版本描述----------------------- ------------------------------10.0.1600.22 RTM10 阅读全文
posted @ 2012-05-25 10:07 Season2009 阅读(3053) 评论(0) 推荐(0)
摘要: create PROC [dbo].[Spgeninsertsql] (@tablename VARCHAR(256)) AS BEGIN DECLARE @sql VARCHAR(8000) DECLARE @sqlValues VARCHAR(8000) SET @sql =' (' SET @sqlValues = 'values (''+' SELECT @sqlValues = @sqlValues + cols + ' + '','' + ', @sql = @sql + '[& 阅读全文
posted @ 2012-05-25 09:43 Season2009 阅读(833) 评论(1) 推荐(1)