Forum Replies Created

Viewing 15 posts - 421 through 435 (of 844 total)

  • RE: How to retrieve all the data group types at the same time in sql server?

    Jeff, If you have a better solution please include it.  I would really like to understand how it could be done without the OR.
    DECLARE @Data_Group_Number CHAR(1);

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Generate a unique number for a combination

    Couldn't you concat the loan number and the date to create the unique ID?  In your example 2 and 4 would have the same UniqueID.
    ID    Loan#    Date        UniqueID
    1    12345    2015-12-01    1234520151201
    2    12345    2016-12-01    1234520161201

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: How to retrieve all the data group types at the same time in sql server?

    I modified Steve's code: This will return all 3 rows if you send the value of '0'.
    DECLARE @Data_Group_Number CHAR(1);

    SET @Data_Group_Number = '0';

    WITH group1...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Displaying Group information only at the first page in each group

    I've never needed to do anything like this, but I would think you could tie the image to the group footer.  I may be way off, it has been a...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: How to hide the time in the date parameter of ssrs report?

    In the properties for the cell, under 'Number' there is Format, if you put a lower case d it will display the date without the time in MM/DD/YYYY format.

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Talking baseball

    2018 World Series Champs, Pirate's!!  🙂   Heck, I'll be happy if they finish above 500, the bums. 

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Dynamic Column

    Cheryl McLaughlin-385812 - Thursday, March 22, 2018 10:29 AM

    SSCarpal Tunnel

    Although, yours has the same desired layout on the output, my example allowed...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Dynamic Column

    Cheryl McLaughlin-385812 - Thursday, March 22, 2018 9:00 AM

    Saravanan

    Thanks for the suggestion. I like what you did, but the output is not...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Dynamic Column

    OK, I couldn't figure out how to do it with PIVOT without hard coding the names. I'm sure there is a way, just not seeing it right now.
    Here is...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Dynamic Column

    I would think you would only need one pivot statement.  Pivot the name and percentage in the same statement.  If you can't get that to work, I think 'Cross Apply'...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Dynamic Column

    What have you tried?  Did you try using PIVOT?
    https://technet.microsoft.com/en-us/library/ms177410(v=sql.105).aspx

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Great Developers Use Source Control

    Steve Jones - SSC Editor - Thursday, March 15, 2018 10:41 AM

    What I'd say is there is a difference between knowing and...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Great Developers Use Source Control

    Steve Jones - SSC Editor - Thursday, March 15, 2018 9:06 AM

    below86 - Thursday, March 15, 2018...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Great Developers Use Source Control

    GeorgeCopeland - Thursday, March 15, 2018 7:21 AM

    The proper term for a developer who doesn't use source control is "amateur".

    WOW, I was...

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

  • RE: Abolish Disjointed Time

    skeleton567 - Thursday, March 8, 2018 7:40 AM

    below86 - Thursday, March 8, 2018 7:30 AM

    -------------------------------------------------------------
    we travel not to escape life but for life not to escape us
    Don't fear failure, fear regret.

Viewing 15 posts - 421 through 435 (of 844 total)