Forum Replies Created

Viewing 15 posts - 1,771 through 1,785 (of 4,080 total)

  • RE: Single Query for getting missing row values based on Date for generating report output

    Always feel free to tweak away, Paul.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Limitation of RETURN + TABLE VALUED Function

    Don't define something in a RETURN that you don't actually want to return. You need to omit that column.

    This means that you will...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Count the rows SQL Server 2005

    Dave's right. Here's a good practice tip:

    @@ROWCOUNT changes with each new SET or SELECT, so if you want to hold on to the...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Fast replace list of words in string

    The bit about COLLATEs is new to me. I'll have to test it out. Where did you pick up that bit of information?

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Fast replace list of words in string

    I'm sure there must be a spatial solution too.

    I finally throw up a solution you like, so you critique my set up of the sample data. There's no...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Fast replace list of words in string

    No recursive CTE this time, Paul? 😉

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Fast replace list of words in string

    This will let you replace a set of words with whatever replacements you choose.

    declare @tab table (findWord varchar(50) primary key, replaceWord varchar(50))

    declare @result varchar(4000)

    declare @string varchar(4000)

    set @string = 'here...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Single Query for getting missing row values based on Date for generating report output

    Actually, I misunderstood the requirements. Sorry. I shouldn't try to work when I'm tired.

    My solution reaches back to the last valid value for a...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    Thanks G2, I see. But why would anyone want to live in the top part of the refrigerator?

    A good question... but people ask ME why I live where temperatures routinely...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    To be honest, there is no comparing winter down south to winter up north. Especially this year. We get at most a few weeks of temperatures...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    I can't get that excited about a school whose cheerleaders all resemble Admiral Ackbar... with curls.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    I remember the first time I ever had a gin and tonic. The invitation to go out for happy hour went something like this.

    1. Spring is...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    Grant, did you by any chance attend mighty Miskatonic University? Home of the Fightin' Shoggoths?

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    And what about those Midwestern States... Ohio... Iowa? Talk about consonant-challenged.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    Or Alabama?

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

Viewing 15 posts - 1,771 through 1,785 (of 4,080 total)