Forum Replies Created

Viewing 15 posts - 106 through 120 (of 192 total)

  • RE: SMO Enumerator

    You're right. It doesn't seem to be a particularly good way to derive your InitialCatalog for the connection manager.

    There's one other thing I'd add... whilst it's possible to set the...

    Kindest Regards,

    Frank Bazan

  • RE: SMO Enumerator

    Populate a recordset with a query against sys.databases.

    [font="Courier New"]SELECT [name]

    FROM SYS.DATABASES

    WHERE state_desc = 'ONLINE'[/font]

    Then use a for each ADO enumerator to loop through the recordset.

    Kindest Regards,

    Frank Bazan

  • RE: Making it easier to move between environments

    The main advantage to using variables is it allows more transparency/visibility of how the package works and it allows you to run the package both in development studio and through...

    Kindest Regards,

    Frank Bazan

  • RE: Making it easier to move between environments

    Hi again folks,

    Just wanted to confirm that you definately can use one config file for more than one package.

    There is no secret to it, and there is no necessity to...

    Kindest Regards,

    Frank Bazan

  • RE: Replication process when updating from a temporary table

    Thanks Michael,

    I did some tests and the performance of the update on the subscriber doesn't appear to be significantly different regardless of how I perform the update on the publisher,...

    Kindest Regards,

    Frank Bazan

  • RE: Delete semi-dups during Data Flow?

    Hi Brandie, thanks for the feedback.

    Looking at your dataflow there is something that I think could improve the performance even further.... if you don't have a requirement for rows...

    Kindest Regards,

    Frank Bazan

  • RE: Table valued functions, common table expressions and SSIS in SQL Server 2005

    My guess here is still date formats.

    I tried out your function and passed in 2 identical dates which I believe is how SSIS converts a date to a string.

    SELECT [dbo].[fVoidRequestDate]('2008-04-08','2008-04-08')...

    Kindest Regards,

    Frank Bazan

  • RE: Table valued functions, common table expressions and SSIS in SQL Server 2005

    Have you checked regional or date format settings on the machine that's executing it?

    If the dates are being passed in different formats according the user, then you may be...

    Kindest Regards,

    Frank Bazan

  • RE: Delete semi-dups during Data Flow?

    Hi Brandie,

    How about this... I apologise if this seems a little sketchy, but I think this could work. Multicast straight after your merge into 2 pipelines. Pass one through an...

    Kindest Regards,

    Frank Bazan

  • RE: Table valued functions, common table expressions and SSIS in SQL Server 2005

    Hi Ann,

    There are certain statements that you can't parameterize in Execute SQL task or OLEDB source.

    From memory they are sub-selects, joins and functions (there may be more). In these instances...

    Kindest Regards,

    Frank Bazan

  • RE: SSIS Send Email Html Body

    If it absolutely has to be HTML then use a script component and the System.Web.Mail class which provides the properties and methods for setting the format and encoding options.

    Alternatively include...

    Kindest Regards,

    Frank Bazan

  • RE: Nested Foreach Loops to build UNC path

    You're right... I've been using SSIS pretty much since it came out, and I'm often reminded of the struggle I had at the outset. Its probably harder to get your...

    Kindest Regards,

    Frank Bazan

  • RE: Nested Foreach Loops to build UNC path

    No you shouldn't need a connection if you're just testing the attributes.

    Here's something to get you started (You'll need the system.IO namespace)...

    [font="Courier New"] ...

    Kindest Regards,

    Frank Bazan

  • RE: Nested Foreach Loops to build UNC path

    What I think I need to do - outer loop of server names (this works). Next loop is inside of the server name loop and it queries the DBA database...

    Kindest Regards,

    Frank Bazan

  • RE: how to import excel data to SSIS

    Hi Patrick,

    To add a constant for your contact_id, you could do this by using a JET SQL Command for your excel source:

    SELECT

    F1 AS Col1,

    F2 AS Col2,

    1 AS ContactId

    FROM [Worksheet$]

    To add...

    Kindest Regards,

    Frank Bazan

Viewing 15 posts - 106 through 120 (of 192 total)