Forum Replies Created

Viewing 15 posts - 6,451 through 6,465 (of 10,144 total)

  • RE: kind Of a struck with this problem. What could be the problem

    Run this query, describe the result set - better still, post the result set:

    SELECT YEAR(OrderDate) AS OrderYear,

    AVG(TotalDue) AS TotalDue

    FROM Sales.SalesOrderHeader

    GROUP BY YEAR(OrderDate)

  • RE: Select all from 1 file and top from another

    stephen.staple (11/23/2011)


    Thank you GSquared. I actually ended up with a very similar solution to yours.

    First I defined a function:

    create FUNCTION [dbo].[fn_GetTopMatch1](@LoginID AS int)

    RETURNS TABLE

    AS

    RETURN

    --

    SELECT ...

  • RE: maximum recursion error

    Gangadhara MS (11/23/2011)


    NodeiD limiting also didn't worked for me.

    Actually another SP is calling this sp inside the cursor so not able to find the exact culprit.

    Something can be done...

  • RE: maximum recursion error

    Gangadhara MS (11/23/2011)


    in this query there is a problem now

    WITH DirectReports(Employee_ID, Parent_ID, PositionName, Position_ID, Team_ID) AS ...

  • RE: maximum recursion error

    Gangadhara MS (11/23/2011)


    NodeiD limiting also didn't worked for me....

    NodeID limiting works well providing the rCTE has a single anchor. If it didn't work then it was probably incorrectly written....

  • RE: Select all from 1 file and top from another

    stephen.staple (11/22/2011)


    Come on you useless bunch of bum bandits. Answer the freaking question.

    Use a WHERE clause, you %$£$%%$$ $%$££ %^^&%$£ 😉

  • RE: maximum recursion error

    Gangadhara MS (11/22/2011)


    hi

    i have used upto 32200 for max recursion but still same error. please suggest me some other method.

    Unless you're working for Microsoft, you're unlikely to have...

  • RE: Dealing with Incomplete Data - A T-SQL Puzzle 1

    What a really nicely written article to start the day off with, very enjoyable.

    Suresh, have you tried using CROSS APPLY to partition the rows into "records" as an alternative to...

  • RE: maximum recursion error

    So, what values have you tried for MAXRECURSION, and what was the effect?

    There is a method you can use to restrict the number of recursions to an absolute number without...

  • RE: Are the posted questions getting worse?

    Ninja's_RGR'us (11/21/2011)


    ....her name .....

    Heh - Remi this looks like motive, when the rest of the world is wondering why the h3ll you want to spend another minute in Mycelium Mansions....

  • RE: Are the posted questions getting worse?

    Ninja's_RGR'us (11/21/2011)


    ChrisM@Work (11/21/2011)


    Ninja's_RGR'us (11/21/2011)


    Hey guys I need your unbiased view of this.

    ...

    Your impressions?

    Move. Some of these fungi can cause serious respiratory problems. It's not worth taking the risk.

    I'm considering it...

  • RE: Are the posted questions getting worse?

    Ninja's_RGR'us (11/21/2011)


    Hey guys I need your unbiased view of this.

    ...

    Your impressions?

    Move. Some of these fungi can cause serious respiratory problems. It's not worth taking the risk.

  • RE: Are the posted questions getting worse?

    Grant Fritchey (11/21/2011)


    Wibble.

    It won't work without the knickers and pencils;-)

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (11/21/2011)


    Gianluca Sartori (11/21/2011)


    50 days without rain???

    In Belgium????

    You must be joking. :hehe:

    I kid you not.

    I'm even surprised myself 🙂

    We even had an Indian Summer that was better than the...

  • RE: I have a coworker....

    MysteryJimbo (11/21/2011)


    Koen Verbeeck (11/20/2011)


    Sean Lange (11/18/2011)


    Koen Verbeeck (11/18/2011)


    That will only work if she keeps the lit on the pot, so that pressure rises within the pot.

    I don't think you can...

Viewing 15 posts - 6,451 through 6,465 (of 10,144 total)