Forum Replies Created

Viewing 15 posts - 1,141 through 1,155 (of 1,166 total)

  • RE: KILL SPID not working while running stored procedure

    When you kill the linked server query somet times it will say 100% complete and rollbck 0% ... which means

    You killed the query on source server but it is...

    MohammedU
    Microsoft SQL Server MVP

  • RE: Backup of database

    If your db recovery model is full your full backup will backup the tlog but it will not truncate the log which may cuase disk to run of space...

    If you don't...

    MohammedU
    Microsoft SQL Server MVP

  • RE: maint plan backup fails after reboot

    Check your maintenance plan configuration... I think you have enable the option to repair the db incase of any errors...

    When sql tries to repair the db as part of maintenace...

    MohammedU
    Microsoft SQL Server MVP

  • RE: SQL 7 Can not truncate Transaction Log

    Here is the proc from Andrew Zanevsky.

     

    CREATE proc sp_force_shrink_log

    @target_percent tinyint = 0,

    @target_size_MB int = 10,

    @max_iterations int = 1000,

    @backup_log_opt nvarchar(1000) = 'with truncate_only'

    as

    set nocount on

    declare @db sysname,

    @last_row int,

    @log_size decimal(25,2),

    @unused1...

    MohammedU
    Microsoft SQL Server MVP

  • RE: integrity checks in maintenance plans

    I will prefer running the integrity checks separately using WITH TABLERESULTS.. insert into a table and You can check programatically and send email notification...

    DBCC CHECKDB(pubs) WITH TABLERESULTS

    MohammedU
    Microsoft SQL Server MVP

  • RE: Cursor that updates every table in database

    Replace your update with the following...

     SET @V_UPDATE_SYS_DB = N'UPDATE '+@V_TABLE_NAME+'  SET SYS__DB = 20202'

    MohammedU
    Microsoft SQL Server MVP

  • RE: reindex online option spurious error

    In sql 2000 when you create a table with with LOB data type (text, ntext, image...) sql automatically adds a row to the sysindexes table with some index name ttablename...I think...

    MohammedU
    Microsoft SQL Server MVP

  • RE: Job Scheduling

    Some other job or process or person may be diabling the job...

    But any way check job end date in schedule table...if this is wrong this should disable the schedule but...

    MohammedU
    Microsoft SQL Server MVP

  • RE: user with db_datareader role that can create and drop stored procedures

    I think some one might have granted the execlusive CREATE PROCEDURE permissons to the login.

    GRANT CREATE PROCEDURE TO <User name>

    Execute "Revoke CREATE PROCEDURE TO <User name>" and see what happens.

    Note:...

    MohammedU
    Microsoft SQL Server MVP

  • RE: performance tuning

    If you want to learn performance tuning you need to learn everything SW as well as HW.

    Always ask what you want exactly...instead open question...

    MohammedU
    Microsoft SQL Server MVP

  • RE: Oldest distributed LSN

    I think you can use sp_repldone command but becareful this may invalidate log but not sure...

    Google sp_repldone you should more info...

     

    MohammedU
    Microsoft SQL Server MVP

  • RE: Delete push subscription on SQL Server 2000

    Try using sp_dropsubscription procedure... Check BOL for more details...

     

    MohammedU
    Microsoft SQL Server MVP

  • RE: sql server 2000 replication and cluster failover

    Replication cluster aware...

    On fail over Replication works fine without any issues because when you install SQL on cluster it installs binaries on both nodes...

     

    MohammedU
    Microsoft SQL Server MVP

  • RE: Cannot drop subscription

    Try running sp_removedbreplication procedure.

    Read BOL for details.

     

    MohammedU
    Microsoft SQL Server MVP

  • RE: Best way to find out publication in Multiple Publication agents?

    I did get it... but you can make use of the following script...

    drop

    table #temp

    set

    nocount

    MohammedU
    Microsoft SQL Server MVP

Viewing 15 posts - 1,141 through 1,155 (of 1,166 total)