Forum Replies Created

Viewing 15 posts - 54,796 through 54,810 (of 59,078 total)

  • RE: Sproc Design Question

    OMG!!! Table driven code! What a concept 😉

    Nice job, Serqiy...

  • RE: "primary key" in Table Variable

    Paul (5/3/2007)


    Forget my original question...

    Make believe that this has nothing to do with cursors, stored procs or anything else. I just want to know if anyone has ever seen...

  • RE: How to update field in multiple Tables in database

    Steve Jones - Editor (9/28/2007)


    Ouch!

    Noted and added to the list.

    Heh... when are they going to get to the list I submitted, Steve?

  • RE: About tuning store procedure

    Bob Fazio (9/12/2007)


    The following does a much better job explaining when/why to use table variables.

    Also, be careful not to get into optimization overload. I still suggest that you spend...

  • RE: Table Size

    Normalize 'til it hurts! It'll save lot's of pain later on... kinda like the pain you're going through right now... 😉

  • RE: Is this workable

    Ninja's_RGR'us (9/29/2007)


    Wow, 52 gig of space!!!! That's a lot of crap to put up with ;).

    Ouch! Brain freeze! You just reminded me of a girl I used to...

  • RE: Is this workable

    GilaMonster (9/29/2007)


    MSDB is a perfect example of how not to design a database. Every time I have to get data from that DB I end up tearing more hair out....

  • RE: Remove Decimals Without Rounding

    Did someone say "loop"??? :blink: On a single row????? :sick:

    Using a previous example where 5 decimal places are required to be padded with zeros...

    DECLARE @i DECIMAL(10,5)

    SET...

  • RE: Update Trigger Updates Correct Record In Another Table

    Sorry... temporarily lost my mind... I meant CreatedBy and CreatedOn... not "Modified". 🙂

    You think it's better to store all data twice on insert?... Once "normal sized" in the original...

  • RE: Limit Resources to UGLY query

    Thanks, Bob...

    First, updating 500K or even a million rows in a single update probably isn't a problem... 20 million is a problem. If you do some testing, I think...

  • RE: Unique ID for a View

    Hold on.... let me get my pen and write this one down in my "Why I don't let developers design views" book 😀

    Why do you need a unique ID on...

  • RE: Data in Use or Data in memory

    It was removed because it was a really bad idea...;)

    Like I said, stop trying to decrypt the whole table... encrypt the lookup criteria and do a normal join or WHERE...

  • RE: Remove Decimals Without Rounding

    Why do you think you need the extra overhead of RTRIM/LTRIM when converting Decimal to Varchar?

  • RE: Reading Variable Flat File

    Heh... why sure, Remi... just look at the difficulties Steve is having trying to fix some of the problems with this "forum in a can" code that RedGate bought. ...

  • RE: Is this workable

    Sure... somehow they managed to save trailing spaces in NVARCHAR columns... Use DATALENGTH to check... some of the columns are defined as 100 characters wide... and even if they only...

Viewing 15 posts - 54,796 through 54,810 (of 59,078 total)