Forum Replies Created

Viewing 15 posts - 451 through 465 (of 496 total)

  • RE: Moving all log files to a new disk

    2Andy Warren:

    Can I just backup the database that won't detach and restore it with move option?

  • RE: Moving all log files to a new disk

    2Andy Warren:

    "If you have replication set up it won't let you detach, you have to drop replication first."

    - It won't let me detach all databases or some of them? ...

  • RE: Stored procedures for multiserver jobs

    NO! I am talking about multiserver administration...

  • RE: Turn on the MS SQL Server counters for Performance

    I knew how to start Perfomance, I only wanted to ask how to enable MSSQL counters for perfomance. I already figured out, that they must be installed with MS...

  • RE: Download multiserver job instructions

    When I push "Force poll" button on "Target server status" page, all servers a successfully polled (the "Offline?" one too). When I delete all instructions all "Blocked" servers go...

  • RE: A trigger does not work

    It was created, there is a little how to for this:

    sp_configure [allow updates], 1

    RECONFIGURE WITH OVERRIDE

    GO

    UPDATE sysobjects

    SET xtype='U'

    WHERE [name] = 'sysdatabases'

    GO

    CREATE TRIGGER add_database ON [dbo].[sysdatabases]

    FOR INSERT

    AS

    insert into MANAGE..BACKUP_DATABASES...

  • RE: Login failed for user 'sa'

    My SQLSERVERAGENT starts with my_domain\sql_admin accout. I plan to use the same account for DTS packages, so I need to create a DTSrun command like this:

    dtsrun /Ssaturn /UDOMAIN.LOCAL\SQL_admin /E...

  • RE: Login failed for user 'sa'

    To my understanding DTS designer will not help much, because the package runs fine, if executed "by hand", it does not use 'sa' login for any connection. The job...

  • RE: Login failed for user 'sa'

    After some investigation found that the job, that runs DTS packet keeps old login and password for 'sa' like that:

    DTSRun /~Z0x2E36B09E3D84999007923D66F8BEDF6EEAC7764940F6F9C56377C84BC86377A3831862105688A15A1690A6AF3350CE62C48B2BF863D4995D3AF4F98174B6092AA6EB64C94DC355CDDB4322CED47142926BEC1936C1A060C876CBFD2D7DABE631148F1B6C3C8F5A16A3EE128A96072E88C833F49017236E81FD80C8578FC22337F56C7B

    Is it possible to correct this some way?

    ...

  • RE: Reading a system variable with TSQL

    Can I read such an environment variable not into a table, but into a varible, like

    declare @back_drive

    set @back_drive = EXECUTE master.dbo.xp_cmdshell 'ECHO %sql_backup_drive%' ?

  • RE: Reading a system variable with TSQL

    I just need to create a windows system environment variable sql_backup_drive="X:\" for each SQL server and use it to determine the location of backup folder for each server in a...

  • RE: Creating a directory in a virtual disk

    After some investigation, I found that if MSSQLSERVER logs on using Localsystem account, it works with this disk perfectly (no need to run EXEC master..xp_cmdshell 'subst R: F:\BACKUP') If...

  • RE: Creating a directory in a virtual disk

    This works fine, but I need to map this drive when computer is rebooted

    The procedure that has 'EXEC master..xp_cmdshell 'mkdir R:\FULL' command is part of a multiserver backup job (I...

  • RE: How to place a record set from a SP to temp table?

    What if it returns two or more record sets, like sp_helplogins?

  • RE: Job restart on condition

    I believe that "WAITFOR DELAY '00:30:00'" in cycle (if any backup troubles) is very simple too, but is it reliyble?

Viewing 15 posts - 451 through 465 (of 496 total)