Forum Replies Created

Viewing 15 posts - 2,551 through 2,565 (of 8,416 total)

  • RE: CTE - How to surpass the limit

    UMG Developer (9/25/2010)


    What about the performance difference between passing in a NVARCHAR(MAX) and NVARCHAR(4000)?

    That can make a difference, yes. It used to be the case that SQLCLR functions that...

  • RE: CTE - How to surpass the limit

    UMG Developer (9/25/2010)


    One question, why does this version not have the "TableDefinition" in the "Microsoft.SqlServer.Server.SqlFunction" definition? Is it not required?

    It's only used by Visual Studio during auto-deployment (Professional Edition and...

  • RE: CTE - How to surpass the limit

    Ok, this one produces integers. I chose to return NULL if the input string contains elements that aren't integers.

    CREATE ASSEMBLY [Utility]

    ...

  • RE: I need some help with a test, please.

    steve-893342 (9/24/2010)


    Unless BETWEEN is more efficient here, you just need the LESS THAN

    I tend to agree. I'm patiently waiting for Jeff to post the new Tally code in full...

  • RE: I need some help with a test, please.

    UMG Developer (9/24/2010)


    So as far as I can tell 4199 is the only trace flag to use going forward. (Assuming you need any fix released after trace flag 4133)

    Hmm, for...

  • RE: CTE - How to surpass the limit

    UMG Developer (9/24/2010)


    For this one, but for other modifications I would need to build it unless you want to make all the test versions for me.

    No I don't 😛

    If you...

  • RE: Need help on TSQL

    The Dixie Flatline (9/24/2010)


    Interestingly, Bob's query, while undeniably compact, still scans the source table twice.

    You fail to ascertain that performance was not my primary design criterion. 😛

    I'm trying not...

  • RE: Are the posted questions getting worse?

    The Dixie Flatline (9/23/2010)


    I just reported you to Steve for this Jason. I hit the "Report" button instead of "Quote" by mistake, but then thought "Hey, why...

  • RE: Need help on TSQL

    Chris Morris-439714 (9/24/2010)


    It makes sense Paul (and there's a first time for everything). I read it then as "get everything which doesn't have a dupe", obviously, but I think...

  • RE: Need help on TSQL

    Chris Morris-439714 (9/24/2010)


    :blush: I don't see it Paul...

    Yours is the only one to return the new row (item 'D').

    As I read the first post, the task is to return rows...

  • RE: CTE - How to surpass the limit

    UMG Developer (9/23/2010)


    I know I should just test this, I might if I had the tools installed and knew how to make/build CLRs...

    If you trust me, you can just run...

  • RE: I need some help with a test, please.

    UMG Developer (9/23/2010)


    Personally I have been fighting the trace flag 4199 issues. (Both with SQL Server 2005 SP3 CU9 and SQL Server 2008 R2 CU3.) Microsoft recommends it to fix...

  • RE: Need help on TSQL

    Chris, I think your query returns incorrect results if we add a single extra item to the sample data:

    CREATE TABLE #t1

    (

    ...

  • RE: Trying to UnPivot without using multiple selects unioned together

    The Dixie Flatline (9/23/2010)


    Hey Paul, I revisited this and noticed that your last post replaced the cross apply of a VALUES clause with a subquery containing a lot of SELECT/UNION...

  • RE: Need help on TSQL

    Anyone have any idea why I felt the need to try to reinvent COUNT(*) OVER using RANK and MAX?

    Thanks Chris.

Viewing 15 posts - 2,551 through 2,565 (of 8,416 total)