Forum Replies Created

Viewing 15 posts - 826 through 840 (of 984 total)

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (12/14/2015)


    Any of you see the Advent of Code?

    http://adventofcode.com/

    I've been solving them in Python and PoSh, practicing some code. Thought some of you might have fun...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (12/11/2015)


    Take this week's survey. don't look anything up, first thing that comes to mind. Be serious, not silly.

    https://www.surveymonkey.com/r/JGFCKDW

    #10? Really? Why not just ask...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: What is DevOps?

    Steve Jones - SSC Editor (12/9/2015)


    A potential problem, but really you don't learn a lot about other environments. Developers aren't trying to be ops. They're trying to understand what requirements...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Are the posted questions getting worse?

    rodjkidd (12/11/2015)


    ThomasRushton (12/10/2015)


    Once again, SQL Bits has been announced and I have other commitments that week that I really can't get out of.

    Pity they can't seem to stabilise the date...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: How Much Eventual Consistency Do You Have?

    Given that an asynchronous member of an availability group could be classed as eventually consistent, quite a few of us...

    Me, for one.

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Are the posted questions getting worse?

    Grant Fritchey (12/10/2015)


    Grant Fritchey (12/10/2015)


    BrainDonor (12/10/2015)


    Bought this one in Portland - designed to upset as many sci-fi fans as possible - http://fashionablygeek.com/t-shirts/trolling-shirt/

    That is beautiful. The sad thing would be the...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Are the posted questions getting worse?

    Once again, SQL Bits has been announced and I have other commitments that week that I really can't get out of.

    Pity they can't seem to stabilise the date of this...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Trying to License on the Cheap if Possible

    kenny 40254 (11/30/2015)


    We need to schedule jobs, so the Express edition is not going to work..

    It is possible to schedule tasks to run without using the SQL Agent task....

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: writing queries that easily readable

    Other free formatting websites are available - http://www.format-sql.com (from Red Gate), or http://www.sql-format.com (from DevArt)

    Take your pick. But be consistent - they all have their own rules. Unlike...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Are the posted questions getting worse?

    Ed Wagner (11/23/2015)


    Brandie Tarvin (11/23/2015)


    I have the simplest error-handling method in the universe:

    Is there an error?

    DROP DATABASE <problemDB>;

    Done.

    I like that. Perhaps a more individualized approach would be to drop...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (6/17/2013)


    This week is the first SQL in the City of 2013. Anyone coming?

    Yup. I'll see you in London on Friday. Looking forward to...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Count no of 100's and 50's in a runs column

    Assuming you have a table with columns such as PlayerName, Match, Score, then something like:

    SELECT PlayerName,

    SUM(CASE WHEN Score > 50 THEN 1 ELSE 0 END)...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Indexdefrag log swelling

    Working backwards...

    TLog backups - I've found in the past that it can help to increase the frequency of TLog backups during heavy index maintenance from, say, hourly to every minute.

    As...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Query Help

    Are you saying that you only need to SELECT the data WHERE cAbsenceCode = 'P' OR cAbsenceCode= 'S'? and ORDER the results BY dtEnrollmentDate?

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Removing only contiguous/adjacent duplicate records from a rowset

    This appears to do what you want:

    use tempdb

    go

    declare @testtable table (id int, value int, name char(4))

    insert into @testtable values

    (1, 10, 'test'), (2, 5, 'prod'), (3, 10, 'test'), (4, 4, 'test'),...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

Viewing 15 posts - 826 through 840 (of 984 total)