Forum Replies Created

Viewing 15 posts - 2,686 through 2,700 (of 3,348 total)

  • RE: The Semantics of NULL in SQL Server 2008

    I rated this article "poor". A lot of the information is correct, and relevant - but there is a very important error, right at the start of the article.

    The author...

  • RE: Round up or down IV

    tommyh (8/24/2010)


    Hugo Kornelis (8/24/2010)


    ziangij (8/23/2010)


    tommyh (8/24/2010)


    With every setting at the default however SQL allows this. Now i havent been able to replicate the error.

    Frankly, this surprises me a lot more...

  • RE: Round up or down IV

    ziangij (8/23/2010)


    plz. refer http://technet.microsoft.com/en-us/library/ms175003.aspx

    for

    select ROUND(748.58, -3)

    result displayed is 1000.00

    but when i execute the same i get an error:

    An error occurred while executing batch. Error message is: Arithmetic Overflow.

    any suggestions plz....

  • RE: ALTER

    taylor_benjamin (8/23/2010)


    I disagree that option 1 is the right choice. It stated that Option 1 was faster and must therefore be the correct choice. However, option 1 lost a constraint...

  • RE: one character of data

    pankaj upadhyay (8/23/2010)


    thanks actually i get confused after reading the ans Either char(1) or varchar(1) may be used. for this question that when we take varchar(1) than will it save...

  • RE: one character of data

    pankaj upadhyay (8/23/2010)


    not this is about that question "I have a variable that will hold one character of data and will never be a null or an empty space....

  • RE: one character of data

    (removed - I thought this was in a different discussion)

  • RE: TempDB

    Toreador (8/20/2010)


    Hugo Kornelis (8/20/2010)You can actually run DBCC CHECKALLOC and DBCC CHECKCATALOG on tempdb. You will not get an error, but on the other hand, nothing will actually be done.

    Which...

  • RE: TempDB

    I got it right, but it was a coinflip. You can actually run DBCC CHECKALLOC and DBCC CHECKCATALOG on tempdb. You will not get an error, but on the other...

  • RE: SSIS Precedence

    Michael Riemer (8/19/2010)


    If the Group is inside the sequence Container (definitely possible) I don't see why the tasks can't connect to it! If my package only has one sequence container...

  • RE: Duplicate value in Identity column

    andrewd.smith (8/18/2010)


    I can imagine some reasonable uses for an IDENTITY column where duplicates are allowed / expected.

    Say we have some sort of versioning system where the version number comprises a...

  • RE: Round up or down III

    jts_2003 (8/17/2010)


    So would it be fair to say that the third argument of ROUND, function, actually ensures you round down instead of up, if you set it to a non...

  • RE: Round up or down III

    Toreador (8/17/2010)


    So why not just make it a Bit datatype and call it 'Truncate' instead of 'Function'? Did it original behave differently?

    Good question. And I have no idea.

    I did check...

  • RE: Round up or down III

    bitbucket-25253 (8/17/2010)


    For a completly different answer - execute the code with the setting for

    ARITHABORT ON and note the difference. An important fact to be aware of.

    Huh? I executed this...

  • RE: Duplicate value in Identity column

    OCTom (8/16/2010)


    Perhaps Microsoft should change it so that a PK or unique constraint must accompany an identity column? Like you say, it doesn't make sense to have it this way...

Viewing 15 posts - 2,686 through 2,700 (of 3,348 total)