﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>ckl commented on SSIS Integration Woes</title><description>Look at SlowlyChangingDimension transformation component... it handles the versioning of records.  Use two date columns - one for added date and one for expired date.
  
Then, create a view where you select where expired date is null for the current view.
  
</description><link>http://ayende.com/2292/ssis-integration-woes#comment9</link><guid>http://ayende.com/2292/ssis-integration-woes#comment9</guid><pubDate>Thu, 12 Apr 2007 21:00:24 GMT</pubDate></item><item><title>Ayende Rahien commented on SSIS Integration Woes</title><description>&gt; you lose all that drag and drop GUI that you fancy so much
  
  
*cough* 
  
WHAT?! I fancy drag &amp; drop?
  
  
The reasoning behind using SSIS for this is that there I can't use a linked server between the two databases (firewall).
  
The other reasoning is that this way I wouldn't have to build my own error handling, reporting, integration with monitoring, etc.
</description><link>http://ayende.com/2292/ssis-integration-woes#comment8</link><guid>http://ayende.com/2292/ssis-integration-woes#comment8</guid><pubDate>Sun, 08 Apr 2007 08:16:25 GMT</pubDate></item><item><title>Moran commented on SSIS Integration Woes</title><description>As I have had a little unpleasant encounter with your dear friend the SSIS, I would recommend that you keep it as simple as possible.
  
  
Ultimately what I’ve done was to create a linked server to Oracle, created a SP that ran queries against it, you can either write them as 
  
SELECT * FROM OracleDb.Oren.MyTable (Better if works…)
  
Or using the OPENQUERY(OracleDb, “SELECT * FROM Oren.MyTable”) function.
  
After you have the results remember that the CROSS APPAY can join UDFs with tables.
  
  
When all is done, create a job to run the SP every couple of minutes (SSIS does the same…) and you are good to go.
  
  
Obviously, you lose all that drag and drop GUI that you fancy so much, but I never considered you as one that falls for that kind of magic… 
</description><link>http://ayende.com/2292/ssis-integration-woes#comment7</link><guid>http://ayende.com/2292/ssis-integration-woes#comment7</guid><pubDate>Sun, 08 Apr 2007 07:49:55 GMT</pubDate></item><item><title>Alexey Kouzmitch commented on SSIS Integration Woes</title><description>I apologize for not being a 100% detailed here, but I am pretty sure that the issue is with the OLEDB provider. Under OLEDB, you pass parameters differently than with a SQL connection.
  
  
I think it's something like SELECT * FROM Table WHERE ModiefiedDate &gt;= ?
  
  
and then you need to name your parameter either 0 or 1 (I forget if it's 0 based....)
  
There are also all kinds of issues with using Dates with that setup.
  
</description><link>http://ayende.com/2292/ssis-integration-woes#comment6</link><guid>http://ayende.com/2292/ssis-integration-woes#comment6</guid><pubDate>Sat, 07 Apr 2007 00:28:37 GMT</pubDate></item><item><title>goodwill commented on SSIS Integration Woes</title><description>Thats why I always think writing our own SSIS like stuff will get money. Its really horrible, I have used that once before, and its hell too buggy to be usable indeed. I remember I come across something like case sensitivity stuff when I create a task and it takes me hell day long to figure out whats really happening. 
  
  
If your task is possible to be handled with coding and you are comfortable with it, dont force yourself with SSIS, its just not going to be a nice marriage.
</description><link>http://ayende.com/2292/ssis-integration-woes#comment5</link><guid>http://ayende.com/2292/ssis-integration-woes#comment5</guid><pubDate>Fri, 06 Apr 2007 15:44:58 GMT</pubDate></item><item><title>Jon Limjap commented on SSIS Integration Woes</title><description>Hi Ayende,
  
  
When using SSIS, check your OO-compulsion at the door. You must forget OOP when using SSIS. Throw reusability out the door too. When you're ready, open up that package. SSIS was not designed for software devs, it's supposed to be made for DBAs with little or no programming experience.
  
  
Tomas' recommendation is the way to go. NO it's not a hack, at least not in SSIS' perspective. Sometimes it's the only way you can do it. Scratch that -- MOST OF THE TIME it's the only way to do it.
  
  
You'll just have to swallow it.
</description><link>http://ayende.com/2292/ssis-integration-woes#comment4</link><guid>http://ayende.com/2292/ssis-integration-woes#comment4</guid><pubDate>Fri, 06 Apr 2007 08:41:58 GMT</pubDate></item><item><title>Ayende Rahien commented on SSIS Integration Woes</title><description>It is a hack, a mighty big one at that.
  
I don't like that at all!
</description><link>http://ayende.com/2292/ssis-integration-woes#comment3</link><guid>http://ayende.com/2292/ssis-integration-woes#comment3</guid><pubDate>Thu, 05 Apr 2007 17:47:45 GMT</pubDate></item><item><title>Justin commented on SSIS Integration Woes</title><description>I used that same method that Tomas pointed to and it worked great for me.  It does feel kind of like a hack though and I do really wish that it was easier.  It was much easier with dts packages to connect to an Oracle database and pass parameters.
</description><link>http://ayende.com/2292/ssis-integration-woes#comment2</link><guid>http://ayende.com/2292/ssis-integration-woes#comment2</guid><pubDate>Thu, 05 Apr 2007 17:46:18 GMT</pubDate></item><item><title>Tomas Restrepo commented on SSIS Integration Woes</title><description>Guess you'll need to resort to this:
  
http://microsoftdw.blogspot.com/2005/11/parameterized-queries-against-oracle.html
  
  
I agree SSIS is pretty clunky at times (and debugging an SSIS package is as much fun as removing your fingernails with a hammer and a chisel).
</description><link>http://ayende.com/2292/ssis-integration-woes#comment1</link><guid>http://ayende.com/2292/ssis-integration-woes#comment1</guid><pubDate>Thu, 05 Apr 2007 16:41:09 GMT</pubDate></item></channel></rss>