Forum Replies Created

Viewing 15 posts - 211 through 225 (of 327 total)

  • RE: Round averages

    colin.frame (9/29/2016)


    Why do we get an answer like "9.000000" instead of "9" when the length is 0 (i.e. rounded to no decimal points)? The answer here has two parts....

  • RE: Complex foreign key

    As the output a message of the parser in the query result window? :unsure:

    (a small nit-pick...) 😉

  • RE: Complex foreign key

    An interesting QotD, but it was necessary to proceed slowly and cautiously to find the right answers...:hehe:

    Thanks Carlo for thoughtfully prepared question and good references.

  • RE: Logical processors

    Thanks Igor for this question. It made me diligently googled and study

    SQL Server Hardware e-book from Glenn Bery and more. Then I found the correct

    answer in an article on...

  • RE: System databases Isolation

    Formulation of the question makes me a bit confused. Which transaction isolation level is NOT available to transactions running

    in the master and msdb databases? For the DB administrator, all...

  • RE: T-SQL: EOMONTH

    Practical for use is that the second parameter may have also a negative value,

    thanks for this seemingly simple question Nagaraj. 🙂

  • RE: Updating a View with CHECK

    Interesting question and even more interesting answer, thanks Steve 🙂

    The answer "The row is not updated and no error is returned."

    should rather be listed as: "No row is not...

  • RE: Plans for long rows

    Thanks Steve, a good opportunity to repeat the Query Hints.

    I can't forgive join this beautiful article from one gentleman

    who was recently as a subject in the QotD. ...

  • RE: Starting an SSIS Package

    Thanks for an interesting question Steve.

    The reference MSDN catalog.start_execution (SSISDB Database) gives only an example

    with the parameter N'LOGGING_LEVEL'. The use of other parameters is well explained here:

    http://sqlblog.com/blogs/andy_leonard/archive/2015/11/04/the-synchronized-ssis-execution-parameter.aspx

    or here:

    http://www.ssistalk.com/2012/07/24/quick-tip-run-ssis-2012-packages-synchronously-and-other-execution-options/

  • RE: Small rounding

    Hmm, interesting, numeric_expression 0.5 - 0.9 cannot be with the ROUND function directly rounded.

    SELECT ROUND (0.4, 0);

    SELECT ROUND (0.5, 0);

    Results

    ---------------------------------------

    0.0

    (1 row(s) affected)

    ---------------------------------------

    Msg 8115, Level 16, State 2, Line 9

    Arithmetic overflow...

  • RE: Checking Admins

    Thanks Steve for this good question. Quite it was useful to repeat

    a little something from the SQL Server Security Functions.;-)

  • RE: AT TIME ZONE

    RonKyle (9/6/2016)


    What could have thrown me was that I though ET was 5 hours off GMT. ET is five hours behind time in England and 6 in central Europe....

  • RE: Grant Fritchey 2016

    That Grant is "really lazy" and Scary DBA, evidenced by its rich publishing

    activity and his excellent book "SQL Server Execution Plans" and more.

    So let his laziness will continue, we...

  • RE: Will It Compress?

    I do not regret that I have got it wrong. I learned something new, thanks Andy. 🙂

    The question has been imprecise specified, because only SQL Server Enterprise Edition

    supports Data...

  • RE: Temporary tables and Table variables storage

    Mike Hays (9/1/2016)


    Good Question, I almost tripped up on that one, attempted to over think it...

    +1;-)

    Interesting question, thanks Sergey 🙂

Viewing 15 posts - 211 through 225 (of 327 total)