데이터베이스가 존재하는 쿼리 SELECT name FROM master.dbo.sysdatabases WHERE name = 'Arch_ESales_' + @search_year 응용 DECLARE @SQL NVARCHAR(MAX) --Check V_CA_PURCHASEORDERS Exists DECLARE @PurchaseOrders NVARCHAR(30) DECLARE @FnGetOrderStatusWithFraud NVARCHAR(40) SET @SQL = N'SELECT @PurchaseOrders = TABLE_NAME FROM Arch_ESales_'+ @search_year + N'.INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = ''dbo'' AND TABLE_NAME = ''V_CA_PURCHASEORDERS''' EXECUTE sp_executesql @SQL, N'@PurchaseOrders NVARCHAR(30) OUTPUT', @PurchaseOrders OUTPUT IF @PurchaseOrders IS NULL BEGIN SET @FnGetOrderStatusWithFraud = N'fnGetOrderStatusWithFraud' SET @PurchaseOrders = N'PurchaseOrders' END ELSE BEGIN SET @FnGetOrderStatusWithFraud = N'fnGetOrderStatusWithFraud_CA' END
글
2014의 게시물 표시
Create ClickOnce Manifest
- 공유 링크 만들기
- X
- 이메일
- 기타 앱
1. Create Certification file makecert [options] outputCertificateFile C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>makecert -sv Fulfillment_ US.pvk -n CN=forever21 Fulfillment_US.cer -r Option Description -sv pvkFile Specifies the subject's .pvk private key file. The file is created if none exists. -n x509name Specifies the subject's certificate name. This name must conform to the X.500 standard. The simplest method is to specify the name in double quotes, preceded by CN= ; for example, "CN= myName ". -r Creates a self-signed certificate. 2. Create pfx file pvk2pfx /pvk pvkfilename.pvk [/pi pvkpassword] /spc spcfilename.ext [/pfx pfxfilename.pfx [/po pfxpassword] [/f]] C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>pvk2pfx -pvk Fulfillment_ US.pvk -spc Fulfillment_US.cer -pfx Fulfillment_US.pfx /pvk pvkfilename.pvk Specifies the name of a .pvk file. /spc spcfilename.ext Specifies the ...
Crystal Reports Deployment
- 공유 링크 만들기
- X
- 이메일
- 기타 앱
Download Crystal Reports for Visual Studio 2010 Complete Package (EXE) Click Once Merge Modules Redist Installation (32 bit) Redist Installation (64 bit) Getting Started with Crystal Reports for Visual Studio 2010 What's New Licensing Supported Platforms Sample Applications SDK Library Tutorials for Crystal Reports for Visual Studio 2010 » Overview Viewlet Sorting and Filtering Viewlet Dynamic Grouping Viewlet XLSX Export Viewlet Related Areas Crystal Reports Design Crystal Reports for Eclipse .NET Articles http://social.msdn.microsoft.com/Forums/en-US/f129440e-2fd2-4c2f-a330-33b24d9ea011/crystal-for-vs2010-redistributable-or-deployment?forum=vscrystalreports
Difference between Classic mode and Integrated mode in IIS
- 공유 링크 만들기
- X
- 이메일
- 기타 앱
Classic mode (the only mode in IIS6 and below) is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISAPI extension (aspnet_isapi.dll) and an ISAPI filter (aspnet_filter.dll). IIS just treats ASP.NET as an external plugin implemented in ISAPI and works with it like a black box (and only when it's needs to give out the request to ASP.NET). In this mode, ASP.NET is not much different from PHP or other technologies for IIS. Integrated mode, on the other hand, is a new mode in IIS7 where IIS pipeline is tightly integrated (i.e. is just the same) as ASP.NET request pipeline. ASP.NET can see every request it wants to and manipulate things along the way. ASP.NET is no longer treated as an external plugin. It's completely blended and integrated in IIS. In this mode, ASP.NET HttpModules basically have nearly as much power as an ISAPI filter would have had and ASP.NET HttpHandlers can have nearly equivalent capabilit...