Forum Replies Created

Viewing 15 posts - 4,561 through 4,575 (of 14,953 total)

  • RE: How to catch those two message errors in SQL?

    Nope. Catch just gets the last one.

    Try Catch is more meant to capture runtime issues with data or security/access.

  • RE: Builds, Deployments, Test Data, Oh My.....

    Red Gate has some tools that can help with that. Things like their data generator and Compare.

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (3/22/2011)


    <groan> Why oh why do the same "bad" solutions keep popping up when there are tons and tons and tons of articles telling people why it's a bad...

  • RE: The Business - Part 2

    I've worked in one place where there was definitely an adversarial relationship between the developers in IT and the rest of the business. In that case, it was due...

  • RE: Need help/advice with stored procedure

    You can do that with a CTE and Row_Number pretty easily.

    ;with CTE as

    (select row_number() over (partition by serialnr order by scantime desc) as Row

    from dbo.MyTable)

    delete top...

  • RE: Need DB Redesign advice

    Well, the first thing to check would be the table design. There are designs that help with multiple, concurrent inserts, and designs that cripple them. The most important...

  • RE: Login failure for NT Authority\ANONYMOUS LOGON

    What you're looking at is multi-step authentication. Wince, grit your teeth, and do an online search for "kerberos". You can also search for "NT AUTHORITY/ANONYMOUS LOGIN", and you'll...

  • RE: Are the posted questions getting worse?

    GilaMonster (3/21/2011)


    Second request, seeing as I seem to have scared people away

    I'm looking for a couple (and I do mean 2) editors for a non-SSC piece on page restores. Please...

  • RE: Convert Date and time

    SELECT DATEADD(DAY, DATEDIFF(day, 0, GETDATE()), 0)

    Just put your date column in there where it has getdate.

  • RE: Are the posted questions getting worse?

    WayneS (3/21/2011)


    Koen Verbeeck (3/21/2011)


    I'm glad I'm not the only Twitter noob around here 😀

    It looks like there's quite a few of us jumping into this twitter thing all at once....

  • RE: Convert Date and time

    select *

    from MyTable

    where MyDateColumn >= '3/15/11' and MyDateColumn < '3/16/11';

    That's the basic idea.

    If the date is a parameter or variable, you can use DateAdd to add 1 day to it...

  • RE: Switching a database to Read Only causing performance problems

    Changing to Read Only creates a database level lock, and that can cause lock resolution issues till it finishes completing any existing transactions. I suspect that the change is...

  • RE: 3rd party SQL performance tools worth it for a newbie?

    To answer a few questions you posed specifically for me:

    Your coming from the other side. Im new to this and the tools can help find and resolve problems quicker! Then...

  • RE: Group by

    Jeff Moden (3/19/2011)


    But that's no reason to not use a function for something not included or even contrary to established documentation especially if it greatly simplifies the resolution to a...

  • RE: join on an xml column

    You can use an XQuery statement in a join, or a Where clause, but not in that manner. If you try, you'll get an error about "exist" needing a...

Viewing 15 posts - 4,561 through 4,575 (of 14,953 total)