Forum Replies Created

Viewing 15 posts - 1,741 through 1,755 (of 8,731 total)

  • RE: GROUP BY in SQL Server 2014

    Have you tried adding an ORDER BY to compare the results?

  • RE: Bitwise & NULL

    Why would you want to complicate things? Sure, you'll get less columns, but you'll need to make your code more confusing. A bit column will take just a bit of...

  • RE: GROUP BY in SQL Server 2014

    zouzou (12/13/2016)


    Was in a rush my mistake check now. Any ideas or help much appreciated

    If it's as simple as that, I would say that you're not getting different results, you're...

  • RE: Split a number in close equal number in sql

    snsingh (12/13/2016)


    Thank you so much Luis for your quick reply. I will try it and will let you know.

    thanks again

    Be sure to understand how it works and ask any questions...

  • RE: GROUP BY in SQL Server 2014

    You need to post the plan files, not just images. If you need to anonymize the names for privacy issues, you could use SentryOne Plan Explorer.

    The pictures just don't reveal...

  • RE: Split a number in close equal number in sql

    Now, that's different. For this you actually need to create rows and a tally table is extremely helpful for this.

    Here's a function that uses a cteTally which has zero reads...

  • RE: GROUP BY in SQL Server 2014

    zouzou (12/13/2016)


    Well I know I made the mistake but this the query please forginve me if I put a wrong letter somewhere will send you in a moment the...

  • RE: GROUP BY in SQL Server 2014

    zouzou (12/13/2016)


    SELECT

    RTRIM(X) AS X,

    RTRIM(Y) AS Y,

    RTRIM(Z) AS Z

    FROM TABLE A

    LEFT OUTER JOIN B on A.X= Y.Z

    GROUP BY X,Y,Z

    That query won't run.

  • RE: Today's Random Word!

    Ed Wagner (12/13/2016)


    Stuart Davies (12/13/2016)


    BWFC (12/13/2016)


    aPed001 (12/13/2016)


    Stuart Davies (12/13/2016)


    Manic Star (12/12/2016)


    whereisSQL? (12/12/2016)


    Ed Wagner (12/12/2016)


    Ray K (12/12/2016)


    whereisSQL? (12/12/2016)


    Ed Wagner (12/12/2016)


    Manic Star (12/12/2016)


    Ed Wagner (12/12/2016)


    Luis Cazares (12/12/2016)


    Tempo

    Tempest

    Temper

    Rage

    Outrage

    Outhouse

    Country

    Rap

    Knock

    Knock

    Knees

    Bees

    Killer

    Serial

    Cereal

  • RE: trying to get rid of clustered index scan

    We still need DDL for the tables and indexes.

  • RE: Split a number in close equal number in sql

    There's no need to create more rows, just do the math and replicate numbers.

    DECLARE @Sample TABLE(

    AC char(1),

    Week varchar(3),

    ...

  • RE: Recursive cte in infinite loop

    bucketlist50 (12/12/2016)


    Thanks, both of you were spot on. It was the problem with the counter not incrementing. After I replaced @Counter +1 with cte.c+1 in the recursive query, it worked...

  • RE: Need a help in writing a query

    How can this be possible?

    4.if susbrting(1,6)=67890 then check position 7=2

    If you only have 5 digits on the first 6 characters, then you shouldn't have a seventh character.

    However, I understood your...

  • RE: Today's Random Word!

    Manic Star (12/12/2016)


    Kaye Cahs (12/12/2016)


    Manic Star (12/12/2016)


    whereisSQL? (12/9/2016)


    Ed Wagner (12/9/2016)


    TomThomson (12/9/2016)


    ZZartin (12/9/2016)


    Luis Cazares (12/9/2016)


    Revenant (12/9/2016)


    djj (12/9/2016)


    crookj (12/9/2016)


    Ed Wagner (12/9/2016)


    Stuart Davies (12/9/2016)


    Manic Star (12/8/2016)


    Alan.B (12/8/2016)


    Gravitational

    Threshold

    Boundary

    Border

    Line

    Vector

    Algebra

    Calculus

    Apple

    Eden

    Adam

    Creationist

    Seven (days)

    Rest

    Quarter (note)

    Tempo

  • RE: Latin small letter u with diaeresis

    Is the code page the same for source and destination? Is the ETL tool doing some kind of data conversion?

Viewing 15 posts - 1,741 through 1,755 (of 8,731 total)