Forum Replies Created

Viewing 15 posts - 16 through 30 (of 101 total)

  • RE: Recursive Queries

    What would the correct syntax be, to generate a table of numbers 1 to 10?

  • RE: FORMATting dates

    Never used this, but doesn't the result depend on MonthDayPattern (i.e. it will come out differently for different cultures)?

    Plus you will end up with ambiguous results like 'October...

  • RE: Date fun

    OK, I am even thicker (US dumber) than I thought! I didn't look at the question properly, worked out the difference between the dates as if they were American format...

  • RE: Date fun

    Luis Cazares - Tuesday, October 3, 2017 5:58 AM

    sipas - Tuesday, October 3, 2017 5:51 AM

    October 3, 2017 at 6:13 am

    #1962034

  • RE: Date fun

    American dates are weird.

  • RE: The odd R sequence

    PB_BI - Wednesday, June 14, 2017 1:33 AM

    Answers 2 and 4 are both correct. Answer 4 is more accurate in terms of what...

  • RE: AUTO Affinity

    David Burrows - Tuesday, June 13, 2017 5:45 AM

    I'll take your pedantic and raise you punctilious, the thread has to on...

  • RE: AUTO Affinity

    Just to be pedantic, the thread doesn't randomly pick a CPU, the operating system moves the threads based on workload - but hey, I knew what you...

  • RE: Clearing Session Context

    Should be @read_only rather than @readonly, but doesn't affect the correct answer - nice question.

  • RE: AG Backup Preference

    Luis Cazares (12/8/2016)


    I don't find the confusing part. Or maybe I just noticed the 3 hints to the correct answer.

    I need to ensure the databases are backed up while minimzing...

  • RE: She's not there

    Thanks for the question - a nice one for Zombies. 🙂

  • RE: Thanksgiving

    "Number 4 works for this year only."

    Actually it doesn't even work for this year.

    SELECT DATEPART(DAYOFYEAR, SYSDATETIME()); gives 329

    SELECT DATEDIFF( DAY, '20160101', SYSDATETIME()); gives 328

    Happy Thanksgiving to all in the USA.

  • RE: INSERTing datetimeoffsets

    I'm confused.

    The correct answer is given as:

    INSERT dbo.TimeZoneOffsetTest (mytime) SELECT '20161015 08:15 2:00'

    The explanation is:

    Of these, the this item is invalid.

    INSERT dbo.TimeZoneOffsetTest (mytime) CAST(SELECT '20161015 08:15 -4:25' as DATETIMEOFFSET)

    SQL Server...

  • RE: Dropping Audit Sessions

    I disagree with the answer - the question says "I find that the audit is no longer needed...", not that the audit specification is no longer needed - it could...

  • RE: Will It Compress?

    BWFC (9/2/2016)


    Carlo Romagnano (9/2/2016)


    SPARSE is not a datatype but a property.....

    +1

    There's nothing in the question that suggests that there are SPARSE columns. It's not something that would jump...

Viewing 15 posts - 16 through 30 (of 101 total)