Forum Replies Created

Viewing 15 posts - 4,036 through 4,050 (of 6,486 total)

  • RE: Try Catch Block

    The @@version reports what the SERVER is...SSMS is just the client, which can to some degree be used against 2000 and 2005 servers (small issues against 2000).

    That unfortunately doesn't change...

  • RE: Replace non numeric characters in string

    GSquared (3/19/2008)


    Matt Miller (3/19/2008)...but three times faster is Marginally??? The Regex function is the last one one the list.

    Sorry, didn't look far enough down on the list of results you...

  • RE: Try Catch Block

    Well - you can change the compatibility level using sp_dbcmptlevel

    http://msdn2.microsoft.com/en-us/library/ms178653.aspx

    However - some behaviors change from one compat level to another, AND - you can't "go back". This is not...

  • RE: Computed column

    Gareth Williams (3/19/2008)


    Thanks Jeff for your help. I thought that might be the answer but hoping not.

    I have to ask - what happens to all of the previous discounts? ...

  • RE: Try Catch Block

    madan.25 (3/19/2008)


    YES,DATABASE COMPATIBILITY IS SET TO 80

    THERE ARE ONLY TWO VALUES 70 AND 80

    HOW TO MAKE IT 90?

    That means you're connecting to a SQL 2000 server. No TRY/CATCH available...

  • RE: Try Catch Block

    You're doing this on a SQL 2005 database instance - right? What's the database compatibility set to?

    If it's still set to 80 - the new syntax won't work.

  • RE: Try Catch Block

    All right - what error are you expecting to happen?

    Also - that doesn't even parse correctly - you're missing a few things.

    The code looks to be (without parsing errors):

    ALTER PROCEDURE...

  • RE: Keeping a distinct list of inserted values ....

    Tomm Carr (3/19/2008)


    Only Name values not already existing in DistinctTable are inserted. Assuming the Name column in DistinctTable is indexed, the performance should be good. You would only use a...

  • RE: Anyone knows "developer" version of sql 2005 ?

    Suji (3/19/2008)


    Developer Edition is as good as enterprise, i use that in my complany, only draw back is that you cant use snapshot in 2005

    Suji -

    What can you not...

  • RE: Try Catch Block

    Lynn Pettis (3/19/2008)


    Can't do a thing without seeing your code.

    😎

    That's the CATCH!!!!

    😀

  • RE: Replace non numeric characters in string

    Results (executed against all 4M rows):

    ============================================================

    CTE

    ============================================================

    Table 'Tally'. Scan count 4000000, logical reads 16750657, physical reads 1, read-ahead reads 8,

    lob logical reads 0, lob physical reads 0, lob read-ahead reads...

  • RE: Replace non numeric characters in string

    GSquared (3/19/2008)


    Did you try the stacked CTEs script that I tested last, or just the inline functions?

    Judging by the IO numbers, I'm going to assume you used the inline function...

  • RE: Performance Tuning: Concatenation Functions and Some Tuning Myths

    Jeff Moden (2/22/2008)


    Thanks for the feedback guys...

    Ryan and Mike C... thanks for the performance comparisons. That's good stuff. 😉

    Sorry to resurrect this - but I came across a...

  • RE: Replace non numeric characters in string

    All right... You asked for it now.....:)

    First - the test scenario. Using Gus' table, and functions. I also threw in two variant to make sure that the system...

  • RE: Disk arrangement

    Asusming you're using Array to mean "RAID group" - then I'd assume you'd see SOME improvement. If we're talking about sub-partitions of a single RAID group, then SQL Oracle's...

Viewing 15 posts - 4,036 through 4,050 (of 6,486 total)