Home Forums SQL Server 7,2000 T-SQL select multirecs from single recs without cursor RE: select multirecs from single recs without cursor

  • steve-893342 (9/12/2010)


    WayneS (9/12/2010)


    steve-893342 (9/11/2010)


    A variation using CROSS APPLY

    This is a SQL 7/2000 forum... the cross apply won't work unless posted in the wrong forum.

    shell_l_d (9/10/2010)


    Wondering if there's a way to do a select query without a cursor (although easy enough to do, curious if can be done without one) to do something like this... here's a small scale sample of what I'm trying to do with a select query...

    SQL Server 2000 (& 2005)

    Yeh, but it says &2005 in the original post, right?

    I'll grant you that. My interpretation is that it would need to run on both versions.

    Wayne
    Microsoft Certified Master: SQL Server 2008
    Author - SQL Server T-SQL Recipes


    If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
    Links:
    For better assistance in answering your questions
    Performance Problems
    Common date/time routines
    Understanding and Using APPLY Part 1 & Part 2