Forum Replies Created

Viewing 15 posts - 391 through 405 (of 459 total)

  • RE: get_sid and sp_ms_marksystemobject: Question on how to register/use properly?

    MarkusB (1/13/2009)


    I just did some testing myself and even though I can't find anything in the official documentation it seems like the function get_sid() has been removed from SQL 2005...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: get_sid and sp_ms_marksystemobject: Question on how to register/use properly?

    GSquared (1/13/2009)


    get_sid is, as per the comment in the proc, only available within system procs.

    Okay...hmm...I tried this workaround. I created a stored proc called my_sp_validatelogins with nothing really in...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: get_sid and sp_ms_marksystemobject: Question on how to register/use properly?

    Most of our servers are 2005, but some are 2000. I'm only using 2008 to run the query across multiple servers simultaneously (eventually), but the issue is failing on...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Database File Size & Break-Up

    Gautam Saha (1/10/2009)


    Thanks.

    I'm still not sure how to split up an existing 75GB file into

    two 37.5GB files on the same (or different) filegroup.

    Here's a real life example for a database....

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Little Security Issues

    majorbloodnock (1/12/2009)


    Cheap, light, powerful. Pick any two.

    Sadly, there's always a trade-off somewhere.

    Exactly...If you don't mind paying the extra coin, there are some powerful 10-12 inch laptops out there. Not...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Deleting old files (with/without archive bit)

    Dennis Stephani (1/2/2009)


    Also try the following code. We had some issues where our tape backup system missed archiving some DB backup files so I scheduled the following code to check...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Temp tables vs. table variable speeds, temp tables faster???

    ...The temporary table can look through statistics where as the table variable has to simply scan the entire table every single time.

    Hmmm...I get it. I guess the first rule...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Temp tables vs. table variable speeds, temp tables faster???

    Thanks Richard, it did shed quite a bit of light. I do have one followup on it though. If the...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Changing Taxonomy

    Steve Jones - Editor (12/29/2008)


    It looks like most people like separation by versions, and perhaps that still makes sense. My guess is that most people won't list their version, and...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Cursors Be Gone!

    dford (12/24/2008)


    Lot of good responses here. I have to say, I don't like seeing lopsided articles about getting rid of cursors. They exist still partially because there are...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Cursors Be Gone!

    jacroberts (12/24/2008)


    Shane Redding (12/24/2008)


    Does anyone know where all this negativity came from about cursors? All I've read about this year are articles saying get away from cursors, "Very Bad" for...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Cursors Be Gone!

    Sigh...

    The while loop I used was only a proof of concept, and was designed to show people the mechanics of breaking out of a cursor mindset. They are both...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: Outsourcing is the best idea ???

    Because our company has two seperate QA and Dev departments staffed by competent people, any outside contractors, either hired for a week or two or for months on end, have...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: The Set-Based Limit

    Here's a scenario where I had to use both procedural and set-based solutions (although I did avoid cursors). I get a request from an analyst every week or two...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

  • RE: The Set-Based Limit

    I guess I object to cursors because of their awkward looking syntax more than anything, although their performance compared side by side with equivalent rewritten set-based or even conventional procedural...

    Gaby________________________________________________________________"In theory, theory and practice are the same. In practice, they are not." - Albert Einstein

Viewing 15 posts - 391 through 405 (of 459 total)