Forum Replies Created

Viewing 15 posts - 5,836 through 5,850 (of 7,187 total)

  • RE: BACKUPSET having entry with another Server_name and Machine_name

    george sibbald (3/23/2010)


    log shipping updates the backupset table of the secondary server with backup information.

    mirroring might too, but not sure about that, I can check tomorrow unless someone knows for...

  • RE: BACKUPSET having entry with another Server_name and Machine_name

    Is ABC set up as a master server? Or maybe msdb has at some point been restored from XYZ?

    John

  • RE: How to move the mdf and ldf file location from one drive to another drive

    muthukkumaran (3/23/2010)


    Use the alter database method instead of detach/attach.

    Write a dynamic sql script to move the files.

    First try to do in your Dev/test server.

    This is one way of doing it,...

  • RE: faliover

    Or you can install the client components on your desktop computer. This has the following advantages:

    (1) You're not logged on to the server and stopping someone who needs to...

  • RE: tlog grows huge during index maintenance...

    As Muthukumaran suggests, it may turn out that your only option is to get a bigger disk. This is because your log file needs to have at least enough...

  • RE: Performance Problems with Queries

    It might be worth setting minumum server memory as well. That way, if anything is trying to grab memory back, it won't be able to. Also, are you...

  • RE: Introduction to the Transaction Log

    Why do you say there'll be a performance loss on commit if the log is getting cleared (of inactive portions only) on a checkpoint?

    Got some tests that show the performance...

  • RE: installing SQL Server 2005

    I can't find where it says that in SQL Server 2005 Books Online. I have the April 2006 edition. The closest I can find is the following:

    If you...

  • RE: installing SQL Server 2005

    I usually move them to different drives. There isn't any great dogma behind this - it's just that since I have data files on one drive and log files...

  • RE: installing SQL Server 2005

    Our system drives are often created with very little spare space by the people who build the servers. We usually have no choice but to move the system database...

  • RE: SQL Agent

    Two reasons I've seen for not being able to start SQL Server Agent:

    (1) The location specified for the SQLAGENT.OUT log file is incorrect or the permissions on the location are...

  • RE: Moving Databases with the ALTER Command

    Thanks for the article, Jimmy. One thing you might want to consider is that if you have large data files with small amounts of data in them, backup and...

  • RE: Protecting a Query from Users

    Yes, and then revoke access for all the users on all objects except the procs and views, so that the users don't continue to run the old queries.

    John

  • RE: Better way to make Data Dictionary.

    Start with a query something like this:

    SELECT

    TABLE_SCHEMA + '.' + TABLE_NAME AS [Table]

    , COLUMN_NAME AS [Column]

    , DATA_TYPE + COALESCE('('+CAST(CHARACTER_MAXIMUM_LENGTH AS varchar(4))+')','') AS [Data Type]

    FROM

    INFORMATION_SCHEMA.COLUMNS

    ORDER BY

    ...

  • RE: SQL 2008 T-SQL

    Interesting behaviour. If you change the last SET line to SET @msg = @msg+@msg+@msg then you get 111111 (at least you do with SQL Server 2005 SP3). Strange...

Viewing 15 posts - 5,836 through 5,850 (of 7,187 total)