Forum Replies Created

Viewing 15 posts - 151 through 165 (of 185 total)

  • RE: MOC 2072

    Isn't that illegal????  You should probably go buy it so you have the labs and what you do have will be legal.  Someone had to spend a lot of time...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Best method to shrink a table?

    After running this, did you run DBCC SHRINKDB('database')? 

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Need opinion

    No.  He should run the business and leave the database to others.    You NEED to run this maintenance on a regular basis.

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: SQL server doesnot exists or access denied

    How are you trying to connect?  What's your connection string look like?  Are you installing MSDE as a named instance or the default instance? 

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Could not find the index entry for RID 169b9442691000300 in index page (1:90)

    Drop and recreate the index.

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Best method to shrink a table?

    As you said, the INDEXDEFRAG does allow you to claim more space in the shrink db process.  If you want to maximize your shrink and have a good maintenance window:

    1. ...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Re-Installing production database server sql 2000

    One other thing I forgot on my list (DOH).  After you restore the msdb database, you need to update the originating_server column in the sysjobs table to the new server. ...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: recordset looping

    It's preferrable that you do not.  SQL is a set based language and processes sets much more efficiently.  Having said that, here's an example: 

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Backup DB with . in the title.

    + '[' + @dbname + ']'

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Moving databases from one server to another

    The only problems we've experienced so far are instances where the server was attached to a SAN.  Make sure all your hardware is on the W2K3 compatability list and you...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: How do we backup and reste to another server

    RESTORE FILELISTONLY

       FROM DISK = 'c:\Northwind.bak'

    --This will give you the list of the logical files.

    RESTORE DATABASE TestDB

       FROM DISK = 'c:\Northwind.bak'

       WITH MOVE 'Northwind' TO 'c:\test\testdb.mdf',

       MOVE 'Northwind_log'...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Re-Installing production database server sql 2000

    1.  Look for sp_help_revlogin by searching the forums on http://www.sqlteam.com.  Run this script in the master database on the old server to script out all the logins, database users,...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: DTS Job Enable/Disable

    Assuming you're using SQL Server Agent to schedule the jobs, you could run sp_update_job from osql.

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Permissions lost!!!

    You'll want to track Security Audit..Audit Object GDR Event.  With the view, you might also want to track Security Audit..Audit Object Derived Permissions.

    Make sure you include the databaseid, object id,...

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

  • RE: Installing MDAC

    Why don't you just go to http://www.microsoft.com/data and download the MDAC from there?  Then you don't have to fool with the key or setup at all.

    Derrick Leggett
    Mean Old DBA
    When life gives you a lemon, fire the DBA.

Viewing 15 posts - 151 through 165 (of 185 total)