https://docs.microsoft.com/en-us/sql/t-sql/language-elements/case-transact-sql Evaluates a list of conditions and returns one of multiple possible result expressions. The CASE expression has two formats: The simple CASE expression compares an express…
Complete list of Microsoft SQL Server trace flags (585 trace flags) REMEMBER: Be extremely careful with trace flags, test in your test environment first. And consult professionals first if you are the slightest uncertain about the effects of your cha…
http://sqlserverbuilds.blogspot.jp/ What version of SQL Server do I have? This unofficial build chart lists all of the known Service Packs (SP), Cumulative Updates (CU), patches, hotfixes and other builds of MS SQL Server 2016, 2014, 2012, 2008 R2,…
原帖地址 What version of SQL Server do I have? This unofficial build chart lists all of the known Service Packs (SP), Cumulative Updates (CU), patches, hotfixes and other builds of MS SQL Server 2014, 2012, 2008 R2, 2008, 2005, 2000, 7.0, 6.5 and 6.0 tha…
本文转自:http://sqlblog.de/blog/2009/09/ssis-execute-package-via-stored-procedure/ There are two options executing SSIS packages: - xp_cmdshell command (not recommended for security reasons) - sp_start_job command The main difference between both options…
在SQL Server 不只是procedure 可以用execute 来执行 function 也是可以的 例子: create function ufn_A( @i as int) returns int begin return @i+1; end go declare @ii as int; execute @ii = ufn_A @i =3; print @ii; go…