Forum Replies Created

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

  • RE: T-SQL sorting

    sknox - Monday, January 8, 2018 6:30 AM

    Can anyone come up with a situation where using ordinal position in the sort...

  • RE: T-SQL sorting

    Quite interesting I suppose, though the URL in the explanation doesn't state what happens when there is a conflict between alias and position.
    The main thing I'd want to know...

  • RE: Cube v rollup

    Presumably there's a mistake in the question requiring 2 answers and it is meant to be a single-answer question? The only possible answer if 2 are correct would be that...

  • RE: STRING_SPLIT with no delimiter

    if it helps:
    Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64)   Oct 28 2016 18:17:30   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows Server 2012 R2 Standard 6.3...

  • RE: Assigning Result Set Column Names

    Can't say I'm a fan of trick questions (ie I got it wrong due to answering on the basis of the data returned not the column name). 😉
    But given...

  • RE: SQL Session Context

    Sean Lange - Wednesday, November 15, 2017 1:19 PM

    I am shocked that 39% of respondents thought you can have a global variable...

  • RE: Interesting Datenames

    Jason A. Long - Tuesday, November 14, 2017 10:23 AM

    It's a trick question... The answer will change between the 1st and 2nd...

  • RE: Interesting Datenames

    The correct answer is not 02, it is 2...

  • RE: How Large is a Table?

    TomThomson - Thursday, November 9, 2017 6:38 AM

    t's quite surprising that so many people either don't  know the row size limit...

  • RE: Real Maths

    I'd forgotten that integer division truncates rather than rounds, so if 3.5 had been an option I'd have got it wrong.
    The moral is, never rely on implicit conversions. I...

  • RE: Converting XML

    trvudat - Friday, July 28, 2017 8:48 AM

    I ran SELECT TRY_CONVERT(XML,'') on SSMS 2016, 2014, and 2012 and none of them return...

  • RE: Converting XML

    Thanks for reminding me why I never use this function!

  • RE: The Missing Price

    TomThomson - Sunday, July 16, 2017 5:51 PM

    It looks as if the majority need to be taught elementary arithmetic, but are being...

  • RE: Dropping PKs

    Darko Martinovic - Tuesday, July 11, 2017 2:21 AM

    In the real world, we do not usually know the name of a constraint....

  • RE: T-SQL Puzzle

    Presumably one of the last two options was supposed to be Two and Two, otherwise they are both the same and there's only one answer that has Two for the...

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