Forum Replies Created

Viewing 15 posts - 136 through 150 (of 196 total)

  • RE: TRY and CATCH has no real use?

    I use TRY/CATCH and looks like Mel Sansone[/url] finds it useful too...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Sort By Month

    You need to use an aggregate function e.g.

    SELECT Agent

    ,[Jan]

    ,[Feb]

    FROM (SELECT *

    ...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: UPSERT USING SSIS 2005

    For those on SSIS 2008: you might consider using the MERGE statement offering you less work and better performance.

    Basically, your package will look like this:

    Data Flow Task: Read Data From...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: how to create a conditional Alter Statement

    Here's a great article to get you started.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Decision Making In SSIS

    Use an Execute SQL Task to read the list with filenames (from a table) and put the result set in a variable of type Object (you can already filter on...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Stored procedure exec taking extremely long

    Did you try sp_recompile?

    Take the Estimated Execution Plan (rather than the Actual Execution Plan) to begin with.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Need to break up a single row into multiple rows

    Jason,

    You will find some information on the conditional split transformation (CST) in BOL.

    You don't have to use an output downstream of the CST, so basically those rows won't go anywhere...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: need help with a query

    UPDATE mytable

    SET gender = CASE WHEN gender = 'F' THEN 'M'

    ...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Displaying dates in Name and dd-mm-yyyy

    You need to do an outer join with a table that contains all dates on which you want to report.

    Check this topic for some inspiration.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Unable to output @@IDENTITY

    Assuming the identity column in your table is called version_id, your SP will look like

    BEGIN

    -- SET NOCOUNT ON added to prevent extra...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Complicated Stored Procedure Help

    Dave is correct. Use an outer join and don't forget to put the filter on PG_ID in the join condition, not in your WHERE clause!

    If you want to replace the...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Export data into xml file using SSIS

    Check the following articles:

    Jamie Thomson

    Simon Sabin

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Need to break up a single row into multiple rows

    Jason,

    Use a conditional split to eliminate the rows with NULLs.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Ignore Duplicate Keys

    Use the IGNORE_DUP_KEY = ON option, see BOL.

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

  • RE: Find Min/Max values in an export

    Phil Parkin (2/1/2010)


    Tidy solution Willem, but with millions of rows of data being involved, perhaps this also introduces quite an overhead?

    From my own experience, the overhead of the mutlicast and...

    Regards,

    Willem
    http://wschampheleer.wordpress.com[/url]

Viewing 15 posts - 136 through 150 (of 196 total)