Forum Replies Created

Viewing 15 posts - 1,756 through 1,770 (of 4,081 total)

  • RE: Are the posted questions getting worse?

    RBarryYoung (3/23/2010)


    The Dixie Flatline (3/23/2010)


    Man, you're in fine form tonight Barry. The pain meds must be extra-fine. It almost makes me wish I'd kept my...

  • RE: Are the posted questions getting worse?

    Man, you're in fine form tonight Barry. The pain meds must be extra-fine. It almost makes me wish I'd kept my signature line listing you...

  • RE: Select top, how to get the rest?

    This one[/url] might be of interest too.

  • RE: Output values that ARE NOT LIKE values in second table

    Another approach would be the use of a NOT EXISTS test in your WHERE clause, something like this

    SELECT ...

    FROM computer_lists

    WHERE NOT EXISTS (select 1 from software where software.product_name =...

  • RE: Are the posted questions getting worse?

    Having aced two courses in Intellectual Property at the Vanderbilt University School of Law, I feel entitled to have an opinion on Mr. Dunleavy's actions: He doesn't...

  • RE: help in avoiding loop

    Seeing how you are passing parameters which are strings of comma-separated values. I can suggest this approach without trying to guess at the structure and content of your...

  • RE: help in avoiding loop

    You don't have to reverse-engineer much to figure out that the code posted could never work.

    DECLARE @DCMResourceID varchar(max)

    Set @DCMResourceID ='2604, 2606,2607,2610'

    WHILE (patindex('%,%', @DCMResourceID) > 0 )

    begin

    select (patindex('%,%', @DCMResourceID)) -- replaces...

  • RE: how to strip out all non alpha numeric characters?

    I see what you mean, but my point wasn't the selection/omission criteria in the where clause. In fact, I learned something from the earlier posts and made a...

  • RE: how to strip out all non alpha numeric characters?

    You may also want to file away this version, which uses an inline table valued function. It performs significantly faster if you have to clean up a...

  • RE: Assign value to another fieldname using CASE statement

    Lutz is right, it's better to expressly test a value for equality. Not equals testing may cause you problems with NULLs.

    In any event, the case expression evaluates to...

  • RE: Merge rows

    Your original was a little confused with respect to the source and the target table. I assume you wanted the target table to be the table updated,...

  • RE: Count the rows SQL Server 2005

    True, but then you create headaches for the poor, struggling UI developer who has to learn how to handle two different types of output from a single procedure. ...

  • RE: Limitation of RETURN + TABLE VALUED Function

    Karthikeyan, I believe you are confusing the two different types of table-valued functions. The following quote is from BOL "Types of Functions". I've added emphasis in...

  • RE: Merge rows

    You don't need the subqueries in your SET clause. You've already JOINED those values to get the maximums. Try as shown below. ...

  • RE: T-SQL Oddities

    Jason, I just searched back through T-SQL QotDs looking for the string "Name" and couldn't find it. 🙁

    I distinctly remember some of the odd things from it though....

Viewing 15 posts - 1,756 through 1,770 (of 4,081 total)