Forum Replies Created

Viewing 15 posts - 21,796 through 21,810 (of 22,184 total)

  • RE: self-joining derived tables?

    CTE's are only available for the next SELECT statement. You can't define a CTE & then run multiple selects against it. If you need that kind of functionality, you'll need...

  • RE: Select statement with a join where result depends on an if statement

    I tried setting up the two tables and putting together some sample data, but I can't run your query. As I suspected it returns more than one row in the...

  • RE: Stupid Question

    Holy Cow! Discussions around the proper placement of the f-bomb in sentence structure in order to communicate with the squids is serious? I clearly need to get out more.

    <hug>

    I'll be...

  • RE: Select statement with a join where result depends on an if statement

    It looks like the correlatted query can return more than one value and that will cause the query to fail.

    Here's a first pass substitute:

    SELECT ItemNo_,ItemDescription, COALESECE(a.Description,b.Description)

    FROM Item

    JOIN ItemExtraDescription a

    ON Item.No_=a.No_

    AND...

  • RE: Debug SP

    I believe that debugging is only available through Visual Studio.

    http://msdn2.microsoft.com/en-us/library/ms165034(VS.80).aspx

  • RE: Empty a database

    Quick and dirty, completely inelegant and unefficient and you might have to run it two or three times in a row, but it will do the job.

  • RE: Upgrades

    I think most of the other posters have already hit the high points. Upgrade and development times are just too long to support short release cycles. We started working with 2005...

  • RE: Stupid Question

    I've been reading Hornblower & Sharpe & Aubrey/Maturin novels my entire life. That and growing up on Monty Python and British television... It's just there. Plus, I used it to...

  • RE: Stupid Question

    Hey watch it! I resemble that remark.

    Yeah, old, weak joke but unfortunately true.

    How about a manly hand shake?

  • RE: Fatal error 824

    You got trouble in River City. According to MS:

    The 824 error indicates that a logical consistency error was detected during a read. A logical consistency error is a clear indication...

  • RE: Anyone see any inefficiencies with this stored proc?

    In addition to all those recommendations, I'd suggest taking the IN clause and turning that into a join, even if you keep it as a derived table. In terms of...

  • RE: Stupid Question

    HI STELLA!

    <big hug>

  • RE: Actual Reason to Use CLR

    Most of our procs are converted to XML out on the client (app server actually). No real need to output to XML, in most cases, in the procedure. From your...

  • RE: Stupid Question

    Oh hell, time to start a support group. Who needs a hug?

    Hi, my name is Grant. I'm unable to upload useless little pictures.

    <CROWD> Hi Grant

  • RE: Actual Reason to Use CLR

    Code reuse in this circumstance sounds really useful. I think I might take a look around. I'm sure we have something along these lines that might, possibly benefit.

    I'm curious to see the...

Viewing 15 posts - 21,796 through 21,810 (of 22,184 total)