Forum Replies Created

Viewing 15 posts - 136 through 150 (of 658 total)

  • RE: Approximate Data types

    Owing to the absence of a "select two" hint I almost went for "all of the above", but saw sense and got it right.

    I've obviously been doing these QotD for...

  • RE: What is the "same query"?

    One of those occasions when it pays to answer the question without running the code!

  • RE: SOME rows

    Are there any circumstances where using SOME would be preferable to the equivalent with EXISTS?

  • RE: Create Table FAILED!?

    Hany Helmy (12/30/2014)


    Wow :w00t: 41% didn`t know about the "Extra comma in column list" will not prevent you from creating a table.

    Why would you expect people to know this? It's...

  • RE: Synonyms and Temp Tables

    manik123 (12/30/2014)


    Very very very easiest question....:-P

    Not that easy - I assumed that there must be a catch so went for the non-obvious answer and got it wrong :hehe:

  • RE: T-SQL

    A nice question. But a shame that 'SQL String' wasn't an option, and that there was no reference as to what happens when you assign a value longer than the...

  • RE: Bit Casting

    Might have been a bit trickier if it didn't come down to knowing how -5 was treated

  • RE: Whats going on Query window?

    Got this wrong, as it asked what output we'd get. I figured that "You can't use transactions on sp_configure" was an unlikely looking error message so ruled it out.

    Turns out...

  • RE: What will be the output message?

    Hany Helmy (12/3/2014)


    Though the missing quote mark (which is most probably a typo

    Not so much a typo, as forgetting to edit the text when it was copied and pasted from...

  • RE: What will be the output message?

    And if the first script is run together as a single batch, the table won't be created and the error message will be something else again!

  • RE: Index Behaviour

    It was possible to work this out by elimination - either both or neither of 4 and 5 had to be there, which ruled out all but 1 and 1,3....

  • RE: Odd Man Out

    GROUPING_ID was introduced in SQL2008. The others were all available in SQL2005.

  • RE: Update Identity column

    Igor Micev (11/17/2014)


    Why not?

    No reason at all, I was just curious as to what scenario might require it 🙂

  • RE: Update Identity column

    Out of interest, what was the reason for needing to make this update? I can understand inserts (sort of) due to the need to support legacy data, but not clear...

  • RE: Friday Shirts

    What's a "Friday Shirt"? Something American I guess!

Viewing 15 posts - 136 through 150 (of 658 total)