Forum Replies Created

Viewing 15 posts - 2,071 through 2,085 (of 8,416 total)

  • RE: Subroutines in TSQL

    Eric M Russell (3/3/2011)


    It's true that the sql select in an inline TVF is folded into the execution plan basically the same as a view and would yeild the same...

  • RE: user defined function

    mwwheeler (3/3/2011)


    The function actually works if i run the query, but its highlighted in red in the query window of management studio 'cannot find either column 'dbo' or the user...

  • RE: Subroutines in TSQL

    Eric M Russell (3/3/2011)


    Depending on the circumstance, a view can replace the functionality of a scalar or table valued function and do so more efficiently.

    In 2005 or later, I would...

  • RE: CXPACKET/Parallelism question

    mazzz (3/1/2011)


    Awesome info, Paul - thanks for that.

    Time to write an article (or ten), maybe...? 🙂

    Cheers. Coincidentally, I just now received the editor's comments on my first article for Simple...

  • RE: CXPACKET/Parallelism question

    Ok. First thing is about memory: SQL Server Standard x86 is not limited to 2GB memory (though it is limited by default to 2GB address space aka VAS). ...

  • RE: CXPACKET/Parallelism question

    [Jim].[dba].[Murphy] (2/28/2011)


    Please do tell me where I misspoke. I would hate to have misinformation up to confuse people for years to come. I'd like to edit and correct...

  • RE: CXPACKET/Parallelism question

    mazzz (2/28/2011)


    If you can, forget everything you read in this thread about parallelism.

    In what sense? Forget it because it most likely won't be related to parallelism, given the info above?...

  • RE: CXPACKET/Parallelism question

    OK, that makes sense. The 23,725 attempts and 10 successes on the clustered index on live shows that escalation from row (or page) locks to a table lock is...

  • RE: How to solve this 2 query

    daveriya (2/28/2011)


    Can we discuss what are the way,we can check that the consolidated tables were generated correctly?

    How much do you need to check?

    1. Check a table exists with the...

  • RE: Help needed to decode comma delimited string and insert into tables

    Jeff Moden (2/28/2011)


    I agree... in particular, I saw that 70% sort on the second use of the Tally Table and believe it would go away if we simply wrote the...

  • RE: How to solve this 2 query

    daveriya (2/27/2011)


    One way to show its registered or not...{code removed} group by clause doesn fit anywhere here

    Have a look at something like this:

    DECLARE @Bank1_201001

    TABLE (

    ...

  • RE: CXPACKET/Parallelism question

    Excellent quality answers - thank you! On the XML plan thing, I should have made it clearer that you are looking for WithOrderedPrefetch or WithUnOrderedPrefetch, not With(un)OrderedPrefetch.

    So, the other...

  • RE: user defined function

    mwwheeler (2/28/2011)


    Im working on an existing database and the original designers, in their wisdom, decided to mix and match a particular columns contents, sometime it contains a numeric value, othertimes...

  • RE: Help needed to decode comma delimited string and insert into tables

    Jeff Moden (2/28/2011)


    Never mind. I see. My code worked but wouldn't suffer many data changes.

    Yes, only minor changes to some very nice code. My main worry is...

  • RE: SQL & the JOIN Operator

    wagner crivelini (2/28/2011)


    Well, Paul, I agree with most of your observations, but Jeff is right: the purpose of this article is to introduce the newbie to a new world, SQL...

Viewing 15 posts - 2,071 through 2,085 (of 8,416 total)