Forum Replies Created

Viewing 15 posts - 61 through 75 (of 187 total)

  • RE: Db Size?

    Restoring the database from one place to another should definitely not shrink the database in any way.

    How are you checking the size of the database (file system, sp_spaceused,...

  • RE: SQL 2008 x64 on Server 2008 x64 - Job Email notifications

    Warren Peace (4/16/2009)


    Yes, DBMail works fine for me. SMTP info in the account is working.

    But why doesn't the following work...

    EXECUTE msdb.dbo.sp_notify_operator @name=N'YOMAMA',@body=N'testing SQL notifications'

    sp_notify_operator ends up calling sp_send_dbmail, so...

  • RE: 2005 Database mail query results sent as formatted PDF

    Do you have reporting services set up on your network anywhere that could access the server? If so, it is incredibly easy to create a basic report that renders...

  • RE: SQL 2000 Email Alerts When Jobs Fail

    Just want to second ALZDBA. I have found Gerts solution to be far more reliable on SQL 2000.

  • RE: DBCC blocked by days-old SPID

    Why these things happen, I am not sure, but I have seen something similar to this on our SQL 2000 servers as well. More than likely the session (currently...

  • RE: Powershell and Administration

    Some of the things that I have been using it for on some of our lower level servers (that we do not have licenses for commercial monitoring tools) are to:

    verify...

  • RE: Search all stored procedures for a hard coded string

    Something like

    select * from sys.sql_modules where definition like '%your string here%'

    should get it for you.

  • RE: Understanding Index Usage

    Glad to hear it all worked out and was beneficial for you. Always a good feeling to see those queries drop from minutes to under a second, isn't...

  • RE: Memory on the db?

    There is no real easy answer to this question. Enough is completely subjective when it comes to memory depending user needs, SLA's, etc...

    However here is a great...

  • RE: Slow Backups after Migrating to 2005

    Wow that is a really long time to do a SQL backup (at least in my experience). How big is the DB if you don't mind my asking?...

  • RE: Basic reporting and email with SQL 2005?

    sp_send_dbmail has an @query parameter. This parameter will attach the output of the specificed query into the body of the message.

  • RE: SELECT from table variable takes long

    This may be one of those cases where you are kind of over the threshold of where a table variable is useful (there are no hard numbers on when that...

  • RE: TempDB .ldf and .mdf files question.

    In the ideal world, I think the best bet is to have the tempdb files separated from each other and separated from the database files as well (basically each file...

  • RE: Understanding Index Usage

    Given the code you have here (I am copying it in for my own reference)

    SELECT

    M.Surname,

    M.GivenName,

    A.StreetNumber,

    ...

  • RE: Understanding Index Usage

    Glad to help. Good luck with the rest of it and definitely post back after you have your final solution in place.

Viewing 15 posts - 61 through 75 (of 187 total)