Forum Replies Created

Viewing 15 posts - 421 through 435 (of 459 total)

  • RE: Mini-Me

    99% of the scripts we use are in house or customized from sites like SQLServerCentral.com

    That being said, there are a couple third party tools that are worth their weight in...

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

  • RE: Trust But Verify

    Steve Jones - Editor (11/19/2008)


    Sorry for the late note.

    Seeing the paper result, but not holding it is interesting. And it's a good compromise, perhaps the best we'll ever get.

    I read...

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

  • RE: Optimizing Database Growth

    Jeff Moden (11/19/2008)


    Gaby A. (11/19/2008)


    Thanks everybody, given me food for thought. Unfortunately this DB was set up before I joined my company but but at least in the future,...

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

  • RE: Optimizing Database Growth

    Thanks everybody, given me food for thought. Unfortunately this DB was set up before I joined my company but but at least in the future, if I get any...

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

  • RE: Trust But Verify

    Hmmm...we just had a national election here in Canada, and we just used pencil and paper. Granted, ours is a parliamentary system where we did not elect a President...

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

  • RE: Generate a random password

    nelsonj (11/13/2008)


    The password generator does a nice job, but while testing the code in QA, I noted that the proc does seem to return an "abundant" number of 'repeats' in...

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

  • RE: Generate a random password

    RML51 (11/14/2008)


    No knock on the script, but I question the value of truly random passwords.

    I think I have a pretty good memory. I have my credit card number memorized...

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

  • RE: Generate a random password

    Jeff Moden (11/13/2008)


    Pretty nice, Gaby... your article and some of the comments above gave me a couple of ideas for an article with just a pot-wad of tricks in it......

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

  • RE: EXEC store proc in master DB

    After you create the script, run this command from within master:

    exec sys.sp_MS_marksystemobject 'sp_YOUR_SCRIPT_HERE'

    which allows you to run it from any database.

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

  • RE: Recommend a good SQL 2005 Book?

    This is also a good book that the DBA's in my department refer to:

    http://www.amazon.com/Microsoft-SQL-Server-2005-Unleashed/dp/0672328240/ref=sr_11_1?ie=UTF8&qid=1226931286&sr=11-1

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

  • RE: Generate report of users and their privileges in SQL 2000

    Try this one as well: http://www.sqlservercentral.com/scripts/Administration/63841/

    It's one I recently used to audit a server for our Internal Auditors.

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

  • RE: Help! TempDB just keeps on growing

    I found this as a possible solution, using shrinkfile, from http://blog.sqlauthority.com/2007/04/01/sql-server-tempdb-is-full-move-tempdb-from-one-drive-to-another-drive/

    [font="Courier New"]use tempdb

    dbcc shrinkfile(templog, 0)

    backup log tempdb with Truncate_Only

    dbcc shrinkfile(templog, 0)

    [/font]

    Avoid the hassle of shrinkdatabase. But maybe have the...

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

  • RE: sp_change_users_login quirk, workaround for open transaction warning?

    MANU (11/12/2008)


    Please add and islogin=1 to your where clause as on my installation its displaying rows for userid which is not there under sysusers and not under syslogins too(its weird...

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

  • RE: sp_change_users_login quirk, workaround for open transaction warning?

    Okay...the proper/full workaround I came up with was:

    create table #TOrphans

    (

    DBName varchar(128) collate SQL_Latin1_General_CP1_CI_AS,

    UserName sysname collate SQL_Latin1_General_CP1_CI_AS

    )

    exec sp_msforeachdb

    'use ?;

    insert into #TOrphans(DBName, UserName)

    select db_name() collate SQL_Latin1_General_CP1_CI_AS, Name collate SQL_Latin1_General_CP1_CI_AS from dbo.sysusers

    where name...

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

  • RE: Would pivot work here?

    I agree with Brandie, sometimes the most useful scripts are surprisingly simple and elegent. Will make my reporting to the Loss Prevention folks more manageable.

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

Viewing 15 posts - 421 through 435 (of 459 total)