Forum Replies Created

Viewing 15 posts - 76 through 90 (of 114 total)

  • RE: Convert number stored as text to number

    Do you still have else '' in your case statements?

  • RE: Something I learned while unemployed

    Eric M Russell - Wednesday, January 25, 2017 8:29 AM

    Topics like unit testing, DevOps, or ETL are broadly defined and subject to...

  • RE: Something I learned while unemployed

    ben.taylor.devops - Tuesday, January 24, 2017 1:53 AM

    Stefan LG - Monday, January 23, 2017 9:44 PM

  • RE: Share the Interesting Work

    I give new starters the small support items at first, which gives them time to touch a lot of areas while coming up to speed. They'll get a chunky project...

  • RE: Find the brackets

    Jeff Moden (11/17/2016)


    funbi (11/17/2016)


    Luis Cazares (11/17/2016)


    funbi (11/17/2016)


    The table has 7 rows.

    Real world tables don't have 7 rows. A small row count is not a valid excuse for bad code.

    It's only...

  • RE: Find the brackets

    Luis Cazares (11/17/2016)


    funbi (11/17/2016)


    The table has 7 rows.

    Real world tables don't have 7 rows. A small row count is not a valid excuse for bad code.

    It's only bad code if...

  • RE: Find the brackets

    Luis Cazares (11/17/2016)


    funbi (11/17/2016)


    Laurie Dunn (11/17/2016)


    This would also work and keep the code simple...

    SELECT *

    FROM dbo.MyData

    WHERE Left(mychar,1)='[';

    Yeah I got

    select * from MyData where CHARINDEX('[',mychar,0) = 1

    which works fine, then...

  • RE: Find the brackets

    Laurie Dunn (11/17/2016)


    This would also work and keep the code simple...

    SELECT *

    FROM dbo.MyData

    WHERE Left(mychar,1)='[';

    Yeah I got

    select * from MyData where CHARINDEX('[',mychar,0) = 1

    which works fine, then looked at the...

  • RE: INSERTing datetimeoffsets

    TomThomson (11/10/2016)


    Steve Jones - SSC Editor (11/3/2016)


    Clearly I edited an answer somewhere, causing issues. It's certainly my fault. Our interface makes checking these items hard, so I have to be...

  • RE: Is order important?

    I know it's not really the point of your question but

    select count(*) from x where n % 6 = 0 and not n % 5=0

    😀

  • RE: INSERTing datetimeoffsets

    (1) and (2) were both invalid.

  • RE: Wasting Time

    For me the amount of meetings and interruptions I'm subjected to can be what ultimately decides if I stay in a job.

    Last job prior to current gig: had to...

  • RE: Which Time Zone?

    BillLudlow (10/18/2016)


    Sorry didn't like that one Steve, totally unfamiliar with the AT TIME ZONE command, and of course I got it wrong.

    Doh!

    Not knowing what Mountain Time was didn't help either...

  • RE: The Attribute

    My years spent in the xslt trenches were not in vain 😀

  • RE: What do you do or think about on the way to work?

    Graham.DBA (10/12/2016)


    Have you _ever_ had a chat on the train and, at the conclusion, said 'Nice chatting with you' ?

    Is it completely silent? Going both to and from London?

    It's very...

Viewing 15 posts - 76 through 90 (of 114 total)