dts

How can I run sql server stored procedures in parallel?

只谈情不闲聊 提交于 2019-12-18 16:47:15
问题 I want to do something like: exec sproc1 and sproc2 at the same time when they are both finished exec sproc3 I can do this in dts. Is there a way to do it in transact sql? Or is there a way to do it with a batch script (eg vbs or powershell)? 回答1: sp _ start _ job I'm doing a similar thing at the moment, and the only way I've found to avoid using SSIS or some external shell is to split my load routine into 'threads' manually, and then fire a single master sqlagent job which in turn executes

Running DTS packages on SQL Server 2012

偶尔善良 提交于 2019-12-13 13:02:36
问题 I read that DTS packages aren't supported in SQL Server 2012. I know there's a Backward Compatibility package/option out there that we used for SQL Server 2008R2 to run DTS packages. Will that Backwards compatibility package not work for SQL Server 2012? For 2008 R2 http://msdn.microsoft.com/en-us/library/bb500440(v=sql.105).aspx 回答1: As the documentation says, support for "migrating or running" DTS packages was completely discontinued in SQL Server 2012. Even if you convince your customers

Is DTLS supported by Schannel on Windows 7?

给你一囗甜甜゛ 提交于 2019-12-12 04:48:57
问题 I have seen conflicting answers to this question. How would I activate a DTLS session using InitializeSecurityContext ? 回答1: DTLS is present in Windows 8 and later. When creating your credentials you need to the SCHANNEL_CRED grbitEnabledProtocols to include SP_PROT_DTLS1_0_SERVER or one of the other DTLS values from schannel.h You then need to select the correct requirements for the "required attributes" when creating your context (things like ISC_REQ_DATAGRAM from sspi.h). See technet for

Which method should I use to execute an SSIS package remotely from a .net application?

我只是一个虾纸丫 提交于 2019-12-11 19:27:08
问题 I need to remotely execute an SSIS package located in the SSIS Package store from a C# .net application. Application is located on a separate server, integration services cannot be installed on the app server. I have the functionality working on my dev machine just using the file system method because I installed integration services to get it running. Now I need to flip it to call the package remotely. Right now I'm using the following: pkg = app.LoadFromDtsServer("\loadfile", "DBServer",

SQL Server 2000 DTS - Cannot resolve collation conflict for equal to operation

北城以北 提交于 2019-12-11 18:36:27
问题 I have a SQL Server 2000 DTS package. One of the steps of this package has the following SQL: SELECT * FROM [Crocus_Limited$OrderRequestDetail] WHERE (rep_updated > GETDATE() -2) AND NOT EXISTS (SELECT OrderID FROM NavisionUpgrade.navision4.dbo.[WEBOrderDetails] rd WHERE rd.OrderID = [Crocus_Limited$OrderRequestDetail].OrderID AND rd.NavisionItemNo = [Crocus_Limited$OrderRequestDetail].NavisionItemNo ) It is failing- giving me error: cannot resolve collation conflict for equal to operation.

How to return a failure if a table is empty

不想你离开。 提交于 2019-12-11 07:35:30
问题 Using SQL Server 2005, but still using DTS. I need to add a step to check if a table is empty, and somehow fail the step if it is. It's easy checking if the table is empty: Select count(*) from source_table But returning 0 is a success, too. If it is 0, I want a failure (so that I can fork to a different option, email us, skip some steps). 回答1: if (select count(*) from [Table]) = 0 print 'Empty' 回答2: what about returning -1 ? Select case when count(*)>=0 then count(*) else -1 end from source

Upgrading DTS packages to SSIS Packages

断了今生、忘了曾经 提交于 2019-12-11 05:59:24
问题 My question is similar to Upgrading SQL Server 2000 to 2005 or 2008 - DTS to SSIS but I have a few restrictions that I'd like the community to consider. We have two databases that currently run on SQL Server 2000 and we are being pushed to move off of this in favor of SQL server 2005 (We do not have 2008, it isn't an option). We have approximately 150 DTS packages that will need to be converted. According to the stack overflow post above, we shouldn't use the conversion tool available. We

DTS vs. SSIS vs. Informatica vs. PL/SQL Scripting

↘锁芯ラ 提交于 2019-12-10 18:10:09
问题 In the past, I have used Informatica for some ETL (Extraction Transformation Loading) but found it rather slow and usually replaced it with some PL/SQL scripts (was using Oracle at the time). (questions revised based on feedback in answers) I gather that DTS was Microsoft's ETL tool prior to SSIS. Would it be difficult to convert an existing application using DTS to SSIS? Given that SSIS is a Microsoft tool and tightly integrated with SQL Server (virtually a part of it) are there any

Upgrading SQL Server 2000 to 2005 or 2008 - DTS to SSIS

混江龙づ霸主 提交于 2019-12-09 12:58:03
问题 Our office uses SQL Server 2000, and by and large it has served our needs well. I'm looking into the possibility of upgrading to SQL 2005 or 2008 because of the new features not found in 2000 (when I saw Index usage statistics which told me which Indexes were the most used and which were never used, that blew me away). I'm not too concerned with how to move the databases from 2000 to 2005 or 2008 - I can just take a full backup and then restore the backup to the new sql installation. What

Need to Programmatically Recompile all Script Tasks in DTSX Packages after Mass Find-And-Replace

让人想犯罪 __ 提交于 2019-12-08 03:24:36
问题 An upcoming move of our Data Warehouse has us needing to change many Connection Strings and UNC File Paths located in VBA Script Tasks within DTSX Packages. We've performed a mass find-and-replace but when changing Script Tasks using this method, the binaries run during DTSX Package execution don't get recompiled at run time, resulting in the find-and-replaced changes not being reflected in the Script Task's execution. I've found some articles on how to do it in SQL Server 2008 and 2012, but