Forum Replies Created

Viewing 15 posts - 106 through 120 (of 148 total)

  • RE: EXECUTE

    While we're being pedantic...

    I would have thought the answer depends on your permissions. If you can't run dbcc showfilestats then both will fail.

  • RE: TSQL that lists all numbers from 1..100

    Who was the first person to come up with this (Jeff's) idea in the context of SQL Server? Was it Itzik Ben-Gan?

  • RE: HASHBYTES

    Add the sale string

    The SALE string? This confused me! 😛

  • RE: Twist in ISNULL function

    @Paul White

    -- Seek

    SELECT * FROM @Example AS e WHERE ISNULL(col1, 1000) = 5;

    I'm just learning this stuff, I don't pretend to know what I'm talking about, and maybe this is...

  • RE: Date Dimension

    You're both committing unnecessary RBAR.

  • RE: Voluntary Constraint?

    it is tempting to assume that data integrity should always be enforced by the database

    Pretty sure that's not the argument. I wouldn't use the word "always". Merely "where possible". If...

  • RE: Voluntary Constraint?

    Thank you, thank you, thank you, Phil.

    The question isn't so much about whether constraints are a good idea, it's more about understanding the psychology of developers who don't want to...

  • RE: Using Recursion and Date Tables to Simplify Date Logic

    Under what circumstances would you use one of these on-the-fly solutions as opposed to a permanent calendar table? I'm probably missing something here - it's not unusual - but the...

  • RE: DATETIME Puzzle

    The only correct code to return everything for november, nothing less, nothing more, is to use seperate >= and < tests:

    WHERE MyDate >= '20111101' AND MyDate < '20111201'

    Massive thanks Hugo...

  • RE: DATETIME Puzzle

    If I were to write the query (which was )

    SELECT *

    FROM #DateTest

    WHERE SampleDate BETWEEN @DATE1 AND @DATE2

    I would have written it

    SELECT *

    FROM #DateTest

    WHERE SampleDate >= @DATE1

    ...

  • RE: DATETIME Puzzle

    There are good reasons to avoid using BETWEEN when comparing two datetimes. Particularly in the example the answer uses. You should be using the various symbols for GREATER THAN and...

  • RE: troubleshooting a report crash in Report Manager

    Turns out you were totally right. The trace files did hold enough clues to sort out the problem. The problem itself turned out to be a type conversion problem. Ep_id...

  • RE: 10 Bad Things About Reporting Services 2008 R2

    Great article.

    Did anyone else miss snap-to-grid when they took it away?

    I have to say, the shared datasets for consistency when using parameters sounds like a great idea.

    How about...

  • RE: 10 Good Things About Reporting Services 2008 R2

    Great article. I'd give it 10/10.

    Cheers

  • RE: loops

    Go Jeff... Go Jeff...

    Incidentally, I don't get the pork chop reference.

Viewing 15 posts - 106 through 120 (of 148 total)