Forum Replies Created

Viewing 15 posts - 646 through 660 (of 1,229 total)

  • RE: Returning a column per date in a range

    nick-1043370 (1/6/2012)


    Hi Chris

    The bummer is it's a different date range each time! Ideally I'd like whatever code I use to get the date range in question first, i.e. find the...

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (1/5/2012)


    Thanks again everyone for their congratulations!

    You're the daddy!

    Well done dude. You know those little foam things you put in your ears when you're clay-pigeon shooting? Get some!

  • RE: Returning a column per date in a range

    nick-1043370 (1/6/2012)


    Hi

    I need to take a set of records for people with hotel check-in/check-out dates, and display a table that has a column for each date in the range, with...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (1/6/2012)


    ...Am I the only person who hates the idea of an entirely NULL rowset with only an Identity in it?

    A polititian? :hehe:

  • RE: Recusion on Group and their subGroups- how can I solve this problem?

    Shamshad Ali (1/6/2012)


    Hello chrisM@home,

    There is one scenario in which the query is not returning me expected data when there is no any Parent exists in groupAssociation table ....

    Since you...

  • RE: Weekend data in SQL server 2000

    There's a very similar thread here.

  • RE: Join - that may not be possible

    Without specifically capturing dates, you might get some milage from this:

    SELECT a.Reference, x1.codes, y.[DESCRIPTION]

    FROM #TempData a

    CROSS APPLY(

    SELECT codes = REPLACE(REPLACE(REPLACE(a.codes,'& ',''),'/',','),' ',',')

    ) x1

    OUTER APPLY (

    SELECT b.[DESCRIPTION]

    FROM #TempCodes...

  • RE: Need help

    Can you post the actual plan for both queries - and the code for the function? Looks like the function is being executed once per row and it only needs...

  • RE: Need help

    How long does this take to run:

    SELECT [item] FROM dbo.fn_Split('33',',')

    Can you post the CREATE statement for this function?

  • RE: Quirky Update query...works on server ...fails on PC.

    SQL Kiwi (1/6/2012)


    Has anyone else managed to reproduce this now given the extra information I provided? Jeff in particular? I'm particularly interested to hear from anyone running 32...

  • RE: Quirky Update query...works on server ...fails on PC.

    J Livingston SQL (1/4/2012)


    .....unless someone can provide a solution that is just as quick to run.???...

    A recursive CTE yielding an output set would do the job in about 4 times...

  • RE: Deadlock Issues

    atchristian (1/3/2012)


    ...I do NOT have a primary key set. The primary key would be: TradeID, AnalysisTypeID, VolumeTypeID, Hour...

    If this is the edge case it appears to be, then you may...

  • RE: Deadlock Issues

    Evil Kraig F (1/5/2012)


    ChrisM@home (1/4/2012)


    Have you tried using MERGE for the upsert, instead of your current two-stage process?

    Shredding XML isn't instant - you may gain by separating this from the...

  • RE: Find lowest parent in recursive SQL table

    CELKO (1/5/2012)


    ...Buy a copy of HIKING IN SETS for more details...

    My cat bought this book and got completely lost on the first example - with a catnav.

  • RE: Update with except conditon

    drew.allen (1/5/2012)


    ChrisM@home (1/5/2012)


    drew.allen (1/4/2012)


    ChrisM@home (1/4/2012)


    say there are ten rows with the same VND_ID and only one of them matches the filter?

    You'll need to post sample data illustrating the problem and...

Viewing 15 posts - 646 through 660 (of 1,229 total)