Forum Replies Created

Viewing 15 posts - 4,396 through 4,410 (of 9,399 total)

  • RE: Is Change Coming?

    Is Change Coming? I certainly hope so. I honestly hope it's real, honest-to-goodness change in the area of security. The "get it done fast and work security...

  • RE: Need help on Grouping

    From what I infer, you're looking for something like this:

    SELECT cmpy_code, year_num, SUM(open_amt)

    FROM tmpaccthist_2013_2014

    GROUP BY cmpy_code, year_num;

    From your sample output, I don't see the ORDER BY...

  • RE: Today's Random Word!

    HappyGeek (12/26/2015)


    Ed Wagner (12/25/2015)


    DonlSimpson (12/24/2015)


    Revenant (12/24/2015)


    Grumpy DBA (12/24/2015)


    TomThomson (12/24/2015)


    DonlSimpson (12/23/2015)


    Ed Wagner (12/23/2015)


    eccentricDBA (12/23/2015)


    djj (12/23/2015)


    Ed Wagner (12/23/2015)


    Grumpy DBA (12/23/2015)


    anthony.green (12/23/2015)


    Ed Wagner (12/23/2015)


    Sleep

    Deprived

    Fatigue

    Mistake

    Regret

    Resolution

    Solution

    Suspension

    Hanging

    Chad

    Niger

    Algeria

    Morocco

    Casablanca!

    Bogart

  • RE: Info on Backup

    Full backups are usually very IO-intense. I'd start by taking a look at the IO consumed by the other jobs. If they're IO heavy, you might need to...

  • RE: Maintenance Plans are not working as scheduled

    I'd review the schedule to see if your full backups are frequent enough and if you're keeping enough of them. Review your recovery point objective to make sure you're...

  • RE: The Most Common Query Blunders...

    Jeff Moden (12/26/2015)


    In the recent past, I did some side work (performance improvements for code and maintenance of indexes) where I found that they used SSN as the PK and...

  • RE: The Most Common Query Blunders...

    Jason A. Long (12/25/2015)


    Jeff Moden (12/25/2015)


    Jason A. Long (12/25/2015)


    The one I came across a couple days ago...

    WHERE LEN(t.SSN) = 9

    as opposed to

    WHERE t.SSN LIKE [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]

    The LEN check doesn't do it...

  • RE: Number VS Letter

    The link Eirikur posted also contains an excellent discussion on the topic.

  • RE: Comma separated values

    Wayne Sheffield has an excellent post that explains this very well at http://www.sqlservercentral.com/articles/comma+separated+list/71700/.

  • RE: Number VS Letter

    Like Jeff pointed out, understanding why the restrictions you listed exist is paramount to determining the solution. That's why we ask questions - to understand what's required and the...

  • RE: Unarchive records

    Welsh Corgi (12/25/2015)


    INSERT INTO PrismData.dbo.tblcall

    SELECT * -- TOP 5000 arc.*

    FROM PrismDataArchive.dbo.tblcallArchive AS arc

    WHERE YEAR(arc.Call_Date) IN (1998)

    COMMIT TRANSACTION

    -- ROLLBACK TRANSACTION

    Msg 213, Level 16, State 1, Line 12

    Column name or...

  • RE: The Most Common Query Blunders...

    Kevin, just the way you phrased "bad-data causers" made me think of the horrible offense of storing dates and times in string columns.

  • RE: Today's Random Word!

    DonlSimpson (12/24/2015)


    Revenant (12/24/2015)


    Grumpy DBA (12/24/2015)


    TomThomson (12/24/2015)


    DonlSimpson (12/23/2015)


    Ed Wagner (12/23/2015)


    eccentricDBA (12/23/2015)


    djj (12/23/2015)


    Ed Wagner (12/23/2015)


    Grumpy DBA (12/23/2015)


    anthony.green (12/23/2015)


    Ed Wagner (12/23/2015)


    Sleep

    Deprived

    Fatigue

    Mistake

    Regret

    Resolution

    Solution

    Suspension

    Hanging

    Chad

    Niger

    Algeria

    Morocco

  • RE: The Most Common Query Blunders...

    This certainy isn't a comprehensive list, but I think it's a decent start.

    While loops or cursors instead of set-based alternatives

    Non-SARGable predicates

    Multi statement table valued functions

    Using SELECT * everywhere

  • RE: An Impressive SQL Server

    Anders Pedersen (12/25/2015)


    Since the article was reposted...

    Two of the largest credit charge clearing systems runs on SQL, and has for a long time. The first time I worked on...

Viewing 15 posts - 4,396 through 4,410 (of 9,399 total)