Forum Replies Created

Viewing 15 posts - 361 through 375 (of 601 total)

  • RE: Appending values from second row to first row

    I suspect that this requirement would be way easier to do loading the data into a staging table and then using T-SQL.

    Maybe some more veteran SSIS users have a quick...

  • RE: WHILE LOOP alternative

    As for the 'six degrees of kevin bacon' analogy, I thought it was a good fit to the problem you describe 🙂

    Kind of a strange requirement ...

  • RE: Recharge and Relax

    Apologies for wading into the "IT union" side discussion, but I have to agree that a union is not really an ideal fit in general for developers and DBAs.

    And its...

  • RE: WHILE LOOP alternative

    Yeah, I'm not surprised.

    If the deepest # of iterations isn't that high, the while loop performance would not be that bad.

    The recursive cte can't tell which matches it has already...

  • RE: WHILE LOOP alternative

    Here is the recursive CTE solution.

    Not sure if it will be any quicker at all, and you still need to know the max iteration depth to put...

  • RE: WHILE LOOP alternative

    Thats not what he wants if you look at his expected results. He wants to do a "six degrees of kevin bacon" on his data, finding all the parties...

  • RE: Recharge and Relax

    I think if you have a fair amount of annual vacation, it helps to have some annual traditions for how some of it is used. Some of it may...

  • RE: Views and their formatted text being lost

    Sorry to be captain obvious, but you could always save your nicely formatted view definition as a file, and open it when you need it as opposed to doing a...

  • RE: Automatically cast to destination type ?

    You can do a derived column that performs the conversion.

  • RE: Can I avoid RBAR in the following scenario

    Take a look and tell me if this is what you want ... I included one case like the one I was asking about.

    Data types are incorrect as I started...

  • RE: Can I avoid RBAR in the following scenario

    So given that period table you'd never have a record like:

    XYZ l456 DEF 201301

    Where there were no earlier routing records for XYZ l456?

  • RE: Can I avoid RBAR in the following scenario

    What should you return if there is no prior record in routing history for that period (ie: item introduced a month later)?

    Also, what are you grouping by? Just item...

  • RE: Four Years Later

    Not sure that is a good example, smgilbert101. You want all rows, but you want specific columns.

    You may have a use for all the columns that currently exist,...

  • RE: join/merge 2 status tables (check statuses at any change)

    I suppose it depends how you define 'messy'.

    You can probably achieve a better solution with a calendar table, but if you have a lot of these status tables, thats still...

  • RE: The Case of the Lost Card

    I have worked in places that required the card to be displayed, and ones that did not. And ones that did where it was not enforced. In some...

Viewing 15 posts - 361 through 375 (of 601 total)