Forum Replies Created

Viewing 15 posts - 76 through 90 (of 126 total)

  • RE: My SQL Server Database is Corrupt - Now What?!

    Hi,

    Would you run the DBCC CHECKDB with the REPAIR_REBUILD option (after recovery from a backup/HA solution)? I seem to remember that this was the preferred option the MS 2005...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Where are my SSIS packages stored on my server?

    Ness (8/14/2012)


    Use the following to verify that it exists on the server and make sure that the integration services service is running to view via ssms

    SELECT

    COUNT(*)

    FROM

    msdb.dbo.sysdtspackages

    :blush: I humbly...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: SQL Browser service needed for non-standard static port?

    Yep - it works fine... As long as you do not use an alias, and use the server name and it's the default instance it works fine. It listens by...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: How was the record deleted!!

    You could always run a server side trace looking for the events and especially the TM: Rollback Tran Starting/Completed event to spot if the transaction was rolled back

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Where are my SSIS packages stored on my server?

    Hi,

    That should show you the packages if you used the option to save them into SQL rather than via the file system. Did you deploy and use a manifest...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Where are my SSIS packages stored on my server?

    Use the following to verify that it exists on the server and make sure that the integration services service is running to view via ssms

    SELECT

    COUNT(*)

    FROM

    msdb.dbo.sysdtspackages

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Odd values in msdb.dbo.backupset

    ..or try checking the the Sql log 😉

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: SQL Browser service needed for non-standard static port?

    Re:

    Keep in mind that should you ever need to use the dedicated admin connection, the browser service will need to be running and 1434 will need to be accessible.

    I have...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: want to know which stored procedures are being run most often

    I may be thinking along the wrong lines but I think that you can use the dmv's to get this info utilising the cached plans for 'adhoc/prepared' plans. From this...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Targeted Index Performance Improvements

    Hi Guys,

    Nice script but I would not advise putting this on a production box due to the SQL injection risk of the

    -- Execute passed SQL.

    EXEC (@SQLToRun)

    part of...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Object Execution Statistics Report in query

    You could always try using SQL profiler when you open the report to capture the sql behind it and reverse engineer what you need 🙂

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Optional parameters in WHERE clause

    OPTION RECOMPILE is your friend in this case, if you can use it. or read up on parameterization.

    Alternatively, I believe if you declare a new set of variables and...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: A network-related or instance-specific error occurred while establishing a connection to SQL Server - Error

    Try creating a SystemDSN entry on the machine you are trying to connect from AdminTools > ODBC DataSource Administrator > System DSN

    This can be a good initial test of connectivity

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Restore Copy of Live DB to Production Server?

    No worries.

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

  • RE: Restore Copy of Live DB to Production Server?

    Thanks for the responses but I'm not sure that I am being clear. Restoring clears the cache for the instance, so if you are hosting more than one client on...

    SQL DBA
    Every day is a school day, and don't trust anyone who tells you any different.
    http://sqlblogness.blogspot.co.uk

Viewing 15 posts - 76 through 90 (of 126 total)