Forum Replies Created

Viewing 15 posts - 2,596 through 2,610 (of 3,348 total)

  • RE: ISNUMERIC

    tommyh (9/27/2010)


    I dont agree with your arguments either. A string is either a number or its not. Not depending on what you try and convert it to. It should be...

  • RE: ISNUMERIC

    da-zero (9/27/2010)


    tommyh (9/27/2010)


    And yes i dont think $1 should count as numeric. $ is a currency symbol not a number.

    + / * - % are arithmetic operators, not numbers. So...

  • RE: Using FULL JOINs to Compare Datasets

    But you can of course add a WHERE clause to exclude the identical rows (like the final example, where small differences were excluded - change the requirement to an exact...

  • RE: ISNUMERIC

    tommyh (9/27/2010)


    da-zero (9/27/2010)


    Good question, although I seem to remember that I've seen similar ones.

    But I don't think that considering scientific notation as numeric is stupid. 2e1 is just another way...

  • RE: ISNUMERIC

    tommyh (9/26/2010)


    UMG Developer (9/25/2010)


    Thanks for the question.

    This should be good to help people understand how ISNUMERIC works...

    <rant>

    Yeah... like total crap. Its borderline useless. Just to further demonstrate that.

    select isnumeric('2e1')

    This...

  • RE: Design

    Rune Bivrin (9/24/2010)


    I have this vague recollection that one of the "gurus" argued that the concept of PRIMARY KEY should have been left out of the standard on the grounds...

  • RE: Design

    andy.brown (9/24/2010)


    Hugo Kornelis (9/24/2010)


    if the table is used in replication, ..., SQL Server requires that a surrogate key with the UNIQUEIDENTIFIER data type is also present in the table.

    Really?...

  • RE: Design

    tommyh (9/23/2010)


    Have to agree with UMG Developer. The "Multiple identifier columns" shouldnt be part of the answer for 2 reasons.

    1. Its not part of MS recommendations (atleast not on the...

  • RE: Design

    Rune Bivrin (9/24/2010)


    It's back to avoiding unneccesary NULL:s. If you need them by all means use them. Just make sure that you have good a motivation why a column should...

  • RE: Design

    Rune Bivrin (9/24/2010)


    Exactly how often do you encounter a GUI where there's a little check box labeled "Don't know if there's a cell phone"?

    If the distinction between "empty string" and...

  • RE: Design

    Rune Bivrin (9/24/2010)


    However, looking the table in the question I'd probably remove the NULL-ability on the cell phone numbers. Nullable VARCHAR often doesn't make sense. Particularly when they are entered...

  • RE: Design

    UMG Developer (9/23/2010)


    I agree that OrderRefNo is an identifier, but if you look at my comment I was saying that OrderNo is not an identifier:

    OrderNo INT NOT NULL IDENTITY(1,1),

    So there...

  • RE: Design

    I agree with UMG developer about the multiple identifier. I already had this option checked before deciding to check BOL first. I disagree with him about the missing identifier -...

  • RE: Fun with Transactions - Part III

    jts_2003 (9/21/2010)


    Thanks for this. I wouldn't have realised that ROLLBACK would roll back a comitted transaction - doesn't this have ACID implications?

    It would be far worse if the inner transaction...

  • RE: Fun with Transactions - Part III

    ziangij (9/20/2010)


    thanks for this question... i was wondering if you could you provide a question or a query that involves both ROLLBACK WORK & ROLLBACK TRAN 🙂

    ROLLBACK...

Viewing 15 posts - 2,596 through 2,610 (of 3,348 total)