Forum Replies Created

Viewing 15 posts - 376 through 390 (of 600 total)

  • RE: rounding issues

    Where did you get the conclusion that the answer should be 52.8? Can you give us sample data?

  • RE: rounding issues

    What is the data type of 'columnname'?

    casting the sum as a float is no good if it was not one before. The precision has been lost before the conversion

  • RE: Four Years Later

    Its possible that smaller businesses developing new systems from scratch are thinking cloud first, or starting to.

    But I haven't seen any sort of groundswell to move existing database implementations to...

  • RE: Transaction

    As others have said, nice question to demonstrate a fundamental point, and the possible answers don't give away the correct one which is good (tougher to just guess).

    However, it could...

  • RE: datediff producing erroneous result when datetime is between midnight and 1AM

    The convert you are using is only showing the hours, minutes and seconds, and the answer you want is 1 day, 1 hour, 42 minutes, and 46 seconds

    You can try...

  • RE: i want to generate sequence number in SSIS

    Phil Parkin (10/13/2013)


    ...it's still not actually being done by SSIS... it's being done by a script.

    Well, I think we are drifting into a grey semantic area here.

    SSIS natively provides...

  • RE: Replace Values in SSIS Expression

    Is this what you want? You may want to add in a case check

    ISNULL([Animal]) ? "" : ( [Animal] == 'Cat' ? 'Dog' : [Animal])

  • RE: Join in two tables

    You can still cross tab or pivot, but you will need to use dynamic SQL.

  • RE: Query Help

    Something like:

    SELECT e.EID FROM #EventLog e

    INNER JOIN #LD l

    ON e.SourceID = l.TranId

    WHERE l.TranID = 1234

    AND e.SourceType = 3004

    UNION ALL

    SELECT e.EID FROM #EventLog e

    INNER JOIN #LD l

    ON e.SourceID = l.LoanId

    WHERE l.TranId...

  • RE: Need help in SQL Query

    vigneshlagoons 51204 (10/10/2013)


    So table design issue because of bringing the group values on top of CCSG Group?

    Yes, there is a hierarchical relationship within your groups, and it is not in...

  • RE: Top 1 not return null

    maybe you were missing the order by? All the solutions seem workable to me.

  • RE: Need help in SQL Query

    Try:

    WITH CCSGLinks AS (

    SELECT [BSP_LOB_GRP],

    [BSP_LOB_CD],

    [BSP_LOB_GRP_TYPE_CD]

    CASE WHEN BSP_LOB_GRP IN ('LOB Group','Site Group','Sales Group') THEN 'CCSG Group' ELSE BSP_LOB_GRP END LinkedGroup

    )

    select *

    from USER_PRFL p

    join CCSGLinks gl on gl.LinkedGroup = p.[User_Group] or...

  • RE: Need help in SQL Query

    vigneshlagoons 51204 (10/10/2013)


    Hi Nevyn,

    Site Group, Sales Group, LOB Group and CCSG Group are values present in BSP_LOB_GRP column.

    If a user is logged in as a CCSG Group members he...

  • RE: Need help in SQL Query

    This query fetches value of CCSG Group, but there are some more groups present in BSP_LOB_GRP column like (Site Group, Sales Group, LOB Group) and these group should belong to...

  • RE: Top 1 not return null

    ali.m.habib (10/10/2013)


    I want to select top 1 value either null or value from this query

    select top 1 column5 from table2 where table2.column1ID = 5

    if the whole value of this...

Viewing 15 posts - 376 through 390 (of 600 total)