Forum Replies Created

Viewing 15 posts - 631 through 645 (of 656 total)

  • RE: Varchar or Char?

    The question asks which is more efficient.

    The explanation describes which uses least space, which is not the same thing as most efficient.

    I suspect that the answer is correct, but would...

  • RE: AND & OR

    archie flockhart (10/14/2009)


    Not only a trick question, but one that is possible to get right by getting the reasoning all wrong...

    If you don't know that AND and OR operate bitwise...

  • RE: IN Operator

    Hugo Kornelis (10/2/2009)


    A very unusual pattern, as LIKE is intended to be used with wildcard characters, but syntactically valid.

    We use it widely, where searches which can be either on exact...

  • RE: IN Operator

    Hugo Kornelis (10/2/2009)


    That standard dictates that when strings of unequal length are compared, the shorter string is first padded with spaces until it matches the length of the longer string,...

  • RE: T-SQL 2008

    bitbucket-25253 (10/1/2009)


    the question was designed to bring attention to the subtle changes made between 2005 and 2008. Too many people fixated on the word (subclauses) and not enough paid...

  • RE: T-SQL 2008

    The question was "SQL Server 2008 introduces several extensions (subclauses), to the GROUP BY clause"

    GROUPING_ID is not part of the GROUP BY clause!

    If CUBE and ROLLUP were indeed part of...

  • RE: @@DBTS

    ChiragNS (9/23/2009)


    oops!! thought the checkboxes where radio buttons.

    And me. I even looked up the answer in BOL, as I'd never heard of the function, and so got the same only-partly-correct...

  • RE: cast, convert and float!

    A pity that 11 wasn't one of the options - then we'd have had to decide whether casting 10.5 as an integer truncated or rounded (and I would probably have...

  • RE: char to datetime!

    Cliff Jones (8/19/2009)


    Mark Horninger (8/19/2009)


    Actually, you could do an implicit or explicit conversion....

    I agree. That was my first thought as well.

    Me too. Since there was no 'either implicit...

  • RE: column & data type.

    sknox (7/23/2009)


    I haven't used SQL Server 6.5 or earlier, so I don't know if there was an alternate syntax or if you had to drop and recreate the column.

    From memory,...

  • RE: char and varchar!

    SanjayAttray (7/2/2009)


    Very basic. But, still 16 people got it wrong as of now. Amazing. :hehe:

    34 and counting...

  • RE: Disabling Indexes

    ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_1devconc/html/1e04f7d6-3d82-45ab-9318-92e0640150b2.htm

  • RE: one character of data

    hakan.winther (6/17/2009)


    I think this QoD has been discussed enough, dont you agree! We all have different views on this case and let us leave it this way. The poor author...

  • RE: one character of data

    If you later find out it should be unicode, you can change it.

    I assume you've never been through the process of converting a large database from varchar/char/text columns to nvarchar/nchar/ntext?...

  • RE: one character of data

    Scott Coleman (6/8/2009)


    I appreciate the need for NCHAR, but in over fifteen years of database programming and administration I have yet to need to support any foreign language characters.

    The application...

Viewing 15 posts - 631 through 645 (of 656 total)