Forum Replies Created

Viewing 15 posts - 946 through 960 (of 4,080 total)

  • RE: T-SQL Unique index act as Fuzzy Lookup

    GilaMonster (8/5/2011)


    The Dixie Flatline (8/4/2011)


    Just thinking out loud here. If he could come up with some sort of formula to condense the name strings down... by omitting...

    __________________________________________________

    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: T-SQL Unique index act as Fuzzy Lookup

    Just thinking out loud here. If he could come up with some sort of formula to condense the name strings down... by omitting vowels for example... could...

    __________________________________________________

    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: Splitting City and State with variable formats

    I took Lowell's code and tossed in a couple of bells and whistles. Like standardizing the commas.

    -- Dude, periods in state abbreviations... seriously?

    SELECT CityState,City+', '+st as fixed,city,st

    FROM

    (SELECT...

    __________________________________________________

    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: Filtering Views vs Stored Procedures

    A couple of comments:

    1. Think of a view as a template of a query, with a lot of stuff pre-written for you (joins, columns, calculated columns). ...

    __________________________________________________

    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: How will you write a query for this scenario

    I found a semi set based solution in a loop instead of using the cursor.

    Would you mind posting your solution up here?

    Don't forget the warnings about performance....

    __________________________________________________

    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: Adhoc vs stored procedure

    Please post the execution plans.

    One big difference is that, for the adhoc query, the optimizer knows absolutely that the value of @StartTime = '07/08/2011 19:00PM'. 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: Are the posted questions getting worse?

    GilaMonster (7/29/2011)


    I'm getting way too snide and cynical. Maybe time to take a short forum break again...

    A little snide and cynical is part of your charm, Gail. 😉

    Shake it...

    __________________________________________________

    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: Clean Code

    I have nothing to add except my compliments on a really good question.

    __________________________________________________

    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: Time for a ROWID?

    Steve Jones - SSC Editor (7/27/2011)


    The Dixie Flatline (7/27/2011)


    Steve, maybe it's because I haven't had enough caffeine this morning, but I have a question: How does...

    __________________________________________________

    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: Showing all the combinations

    bopeavy (7/27/2011)


    Thats great for the combinations but i do not know what they go to.

    some select or what ever would show:

    exid1 | exid2 | exid3 | combo

    0 ...

    __________________________________________________

    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: Time for a ROWID?

    Steve, maybe it's because I haven't had enough caffeine this morning, but I have a question: How does the ROWID column that you propose differ from...

    __________________________________________________

    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?

    Haven't seen Captain America yet, but I may see it twice this week.

    Cap ties with Ben Grimm for my all-time favorite comic book hero.

    __________________________________________________

    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: Selecting Max(ID)

    That's true given the data supplied. But my understanding is that the requirement was to get the salary from the row with the max(id), whether or not...

    __________________________________________________

    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: Copy from a folder to an other

    Count this as another vote for opc.three's solution.

    +1

    __________________________________________________

    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: need help with the code

    I STRONGLY agree with Lowell. You are shooting yourself in the foot by storing the datetime information as varchar. You are losing the entire...

    __________________________________________________

    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 - 946 through 960 (of 4,080 total)