Forum Replies Created

Viewing 15 posts - 406 through 420 (of 454 total)

  • RE: The power of batching Transactions

    This article leaves me with more questions than answers.

    First off, there are no indexes on the table in the example. How would adding indexes and inserting non-sequential data affect the...

  • RE: Predict output for ROUND function

    I'm honestly surprised at the number of people here who were not aware of the approximate nature of IEEE floating-point numbers. That information was in every programming class I took...

  • RE: T-SQL Output Clause

    Michael Poppers (1/6/2010)


    john.curran.z3g (1/6/2010)


    Ideally this question would have included the Categories table with the INSERT to remove the dependency on Northwind. This would also remove any doubt as to the...

  • RE: Wild Join Question

    Hugo Kornelis (12/24/2009)


    Carleton (12/23/2009)


    If you are unsure if the field contains a wildcard character when joining using the LIKE operator, you can avoid false positive results by observing this tip:

    But...

  • RE: Transactions

    jrhutch (12/22/2009)


    Can't help but notice that we have 3 options: true, false and error. If we get an error the answer is still going to true or false. ...

  • RE: Temp Tables

    vk-kirov (12/17/2009)To those people who answered '1,3,4': is the condition 'all active tasks have stopped referencing them' sufficient for dropping the table? The answer is 'No, it is not'. If...

  • RE: Temp Tables

    1,3,4

    Even the answer explanation states that if the session that created it ends, but an active task is still referencing the table, it isn't dropped. So #2 is NOT correct.

  • RE: Fun with Decimals

    Bhavesh_Patel (12/15/2009)


    Why answer differs when we are using the same function on same variable?

    Because we're not actually running the function on the same variable. In the first column, we're doing...

  • RE: Using SQL Server 2008 PBM to Monitor Free Space

    In this article I’m walking you through how to setup data file free space monitoring using SQL Server 2008 Policy-Based Management feature. You may think “Hey dude this is not...

  • RE: INT and SMALLINT

    I dream in binary, so when I see 32768 I automatically think overflow*. 😛

    *At least in regards to Microsoft stuff. They seem to dislike unsigned integers, for some reason.

  • RE: Fun with Scale and Precision

    Well, on page 2, I have a post which illustrates one potential answer, based primarily on the equations but rewriting them as a procedure (http://www.sqlservercentral.com/Forums/FindPost828945.aspx), and shortly thereafter nadabadan does...

  • RE: SSIS Package Credentials

    Samuel Vella (12/10/2009)


    Personally, I find using windows scheduling and invoking the SSIS package from a .bat file to be a lot more dependable.

    To each his own. I prefer using SQL...

  • RE: Fun with Scale and Precision

    chriscoates (12/10/2009)


    Thanks sknox for some good explanations here. To check I've got this straight ...

    The internal casts give us 10 decimal places.

    That effectively boils down to:

    SELECT ( 1.6757400000 /...

  • RE: Fun with Scale and Precision

    RBarryYoung (12/9/2009)


    Steve: (RE: SSC new site features/wishlist)

    This is a perfect example of a thread or post that I would like to be able to tag or remember...

  • RE: Fun with Scale and Precision

    RBarryYoung (12/9/2009)


    As for the last part, you appaerntly overlooked applying the MAX(..) function in your calculations:

    According to the table from the above link, the result precision is: p1 - s1...

Viewing 15 posts - 406 through 420 (of 454 total)