Forum Replies Created

Viewing 15 posts - 1 through 15 (of 113 total)

  • RE: Emailing from SQL 2008 using 'EX:\O' type addresses

    I'm not quite sure what you mean by only addresses are in the form of. That is an active directory string that will relate to the object in active...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: sqlserver 2008R2 installation - Service account error in Error log

    What is the default database for the login?

    SELECT default_database_name

    FROM sys.server_principals

    WHERE name = 'MSSqlDB2K8\sqlsrvAcct';

    GO

    Is the database online and in multi user mode?

    Cheers

    Chris

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: select statement blocking update statement

    In short No. The below script will prove this. There is an great book by Kalen Delaney that explains locking in great detail. Link below;

    http://www.sqlservercentral.com/articles/books/93946/

    -- Set database...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: A job or alert to check for a witness

    I can't think of a reason why you wouldn't want to make use of database mail. I enable database mail on all the servers in our estate as part...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Change Compatility level in active mirroring session

    You can fail the database on the principal to the mirror make the change test it and fail the database back to the original principal.

    Cheers

    Chris

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: job fails with linked server

    The query and job should run without error, as for why you have NULL values I don't know why you have them. If you run the SELECT without the...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Ghost Cleanup and CHECKPOINT after Migration to SQL 2008 R2

    I imagine ghost cleanup is run when you migrate as some part of the recovery process trigger it. It may be worth posting the question on twitter using the...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Ghost Cleanup and CHECKPOINT after Migration to SQL 2008 R2

    That will certainly impact recovery time, Below is a script that will create a script to update the initial log file size and the auto growth settings based on the...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Compare scripts B4 and After a Performance Fix !

    You can run SET STATISTICS IO ON before your change, execute the query and review the results in the messages tab. Then run DBCC FREEPROCCACHE and DBCC DROPCLEANBUFFERS to...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Ghost Cleanup and CHECKPOINT after Migration to SQL 2008 R2

    If you run DBCC LOGINFO('DatabaseNameHere') for the affected database how many records are returned?

    Each record is a Virtual Log File (VLF) a high number of VLF's would impact recovery time.

    Chris

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: In my laptop some times sqlserver getting problem while connecting in to the instance

    If I understand you correctly, when you can't connect the services are not running? What happens when you start the services, can you then connect?

    Chris

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: job fails with linked server

    Rather than selecting into your temporary table have you tried creating the temporary table and specifying NULL in the definition of the column that fails in the error message you...

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Trigger issue, help with trigger

    True, good point.

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Trigger issue, help with trigger

    Just create a foreign key between the audit table and source table on that column that will do the trick.

    Chris

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------
  • RE: Trigger issue, help with trigger

    Great news, that is what we are here for 🙂

    Chris

    ------------------------
    I am the master of my fate:
    I am the captain of my soul.
    ------------------------
    Blog: http://sqlserver365.blogspot.co.uk/
    Twitter: @ckwmcgowan
    ------------------------

Viewing 15 posts - 1 through 15 (of 113 total)