Forum Replies Created

Viewing 15 posts - 31 through 45 (of 370 total)

  • RE: Table Variable

    I didn't know we could have an identity column in a table variable.

    And that it can't be reset. I was expecting it wouldn't be possible to truncate the table though.

    I...

  • RE: Varchar Exceeding 8000 characters

    Hi.

    What is the exact error message you're receiving?

  • RE: BIT Conversions

    Excellent question, Wayne.

    Thank you.

  • RE: SELECT - CASE - GROUP BY

    Nice. That's almost the same thing without using a derived table.

    I tend to use it whenever possible (or even CTEs) to make the code more readable. 🙂

    Have a great week!

  • RE: SELECT - CASE - GROUP BY

    Does this work?

    SELECT ta.ErrorID, tab.ErrorType, tab.DateLogged,

    CASE WHEN total = 1 THEN tab.PolicyNumber ELSE 'MULTIPLE' END

    FROM (SELECT tblErrors_ER.ErrorID, tblErrors_ER.ErrorType, tblErrors_ER.DateLogged,

    ...

  • RE: SELECT - CASE - GROUP BY

    I'm on a computer that don't SQL Server installed but you could try to use COUNT in an inner SELECT and then in an outer SELECT you could use something...

  • RE: "Question of the Day" is about:

    Hugo Kornelis (8/4/2012)


    My personal answer is a combination. In the role of answering questions, the value of the QotD to me is a combination of judging my knowledge and learning.

    +1

  • RE: Commenting in Dynamic query

    Thanks for a straightforward question.

    I found it quite easy because it's one of the opened doors for SQL injection.

  • RE: "Question of the Day" is about:

    The QotD is not also about judging our skills?

  • RE: Rename column

    Got it wrong and I'm satisfied because it was a very interesting question.

    Microsoft always makes QotD harder than it should be because many things don't work the way we logically...

  • RE: How well do you know MAX?

    harsh.lapashiya (11/15/2011)


    good twister

    To get third highest salary

    select MAX(salary) from Employees where salary <(select MAX(salary) from Employees

    where salary <(select MAX(salary) from Employees))

    I know this is a year old post but I...

  • RE: How To Write An Interview Winning Resume

    John.Sansom (7/19/2012)


    In my own experience, both as a candidate and a hiring manager, I have found that the additional effort spent on a resume is always a worthwhile investment.

    Thank you...

  • RE: Perfomance Tuning

    I guess there are no default recipes and most of the people will say "it depends". 🙂

  • RE: Should I go ahead with 70-432

    At some point, I will apply for the three exams required for me to upgrade my MCITP to MCSE. But right now I've been wondering "is it the right decision"....

  • RE: DBCC CHECKDB WITH TRY/CATCH

    Thank you for such interesting question.

Viewing 15 posts - 31 through 45 (of 370 total)