Forum Replies Created

Viewing 15 posts - 421 through 435 (of 1,248 total)

  • RE: Give database to customers, how would you want to receive it?

    I'm sure you already know this but its worth mentioning. In your source control dont forget to create a tag for your releases so that you know what version of...

    ----------------------------------------------------

  • RE: Reporting Services From a Data warehouse - Bottleneck On Every Month

    Now we have 2000+ SSRS reports for many clients and we scheduled those reports as subscriptions in those report servers.

    This would have given me the indication right away that there...

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    davoscollective (11/11/2016)


    MMartin1 (11/10/2016)


    ...CounterpartyAccountKey and GenevaAccountKey ..

    If these do represent the source, think of the maintenance nightmare when the source changes, or another is added. This is not the way to...

    ----------------------------------------------------

  • RE: Need to implement left join using look up

    Since you are unsure and want to implement a left join I easily recommend MERGE. The Lookup transform is a little different. Try reading more about them on MSDB. For...

    ----------------------------------------------------

  • RE: Need to implement left join using look up

    ShinyK (11/10/2016)


    By default, the Lookup operates as an INNER JOIN - but we need a LEFT (OUTER) JOIN. Click the "Configure Error Output" button to open the "Configure Error Output"...

    ----------------------------------------------------

  • RE: Multiple Joins on Fact Table

    ...CounterpartyAccountKey and GenevaAccountKey ..

    If these do represent the source, think of the maintenance nightmare when the source changes, or another is added. This is not the way to design IMHO....

    ----------------------------------------------------

  • RE: Username increment by 1 if already exists in table

    What is the rule if you have three people named Bo Derek, or four people named Joe Smith? In the prior code run I see that the last one...

    ----------------------------------------------------

  • RE: Need to implement left join using look up

    komal145 (11/8/2016)


    Thank you. Merge join worked .

    Just a note, make sure the input streams are sorted in the same manner. I have seen where they were not and the data...

    ----------------------------------------------------

  • RE: SUM and Group using IN clause

    Assuming it is the 'Sick' hours that you are mainly focusing on , the following is as simple as I can code it:

    selectcid,

    sum(case when hr_type = 'sick' then 0...

    ----------------------------------------------------

  • RE: Query returning incorrect results randomly

    Are you querying everything from one table or doing some type of join(s)?

    ----------------------------------------------------

  • RE: Exporting Data

    Thanks Steve. Good straightforward question. I take it the capital Q means Quit (I'm not a sqlCmd user).

    ----------------------------------------------------

  • RE: Case Statement Update

    Koen Verbeeck (11/8/2016)


    Somehow completely missed that the data type was bit.

    Moar caffeine needed!

    Ok maybe the defaulting of the bit field to 'false' is a little "bit" tricky. Part of the...

    ----------------------------------------------------

  • RE: where condition on same column doesnt return data

    Ditto,

    First name can be 'John' OR 'Linda' but cannot be both at the same time (which is what a AND condition is implying).

    ----------------------------------------------------

  • RE: Is order important?

    I figured B, though I was struggling with D and was glad that the options were this or not this rather than figuring out the math on D 🙂

    ----------------------------------------------------

  • RE: Easy way to search for a string any where within XML column?

    This may not sound elegant, but a two step approach is to query out the entire xml string with the Results To File setting selected. Save the results to a...

    ----------------------------------------------------

Viewing 15 posts - 421 through 435 (of 1,248 total)