Forum Replies Created

Viewing 15 posts - 1,381 through 1,395 (of 7,498 total)

  • RE: Record Delete is slowing server

    JokerUK (4/25/2012)


    Sorry - I did say in my first post about the partition - just reading about the sliding window now

    Indeed. ( no offense intended here, nor in -any-...

  • RE: Record Delete is slowing server

    Grant Fritchey (4/24/2012)


    Wait, partitioned?

    Why not use the moving partition approach then? You don't delete anything. That's exactly what partitions are all about.

    How come our bell didn't ring seeing the Table...

  • RE: user access rights disabled to prticulare database?

    With sql2000 you'll have to use

    use yourdb

    EXEC dbo.sp_revokedbaccess N'username'

  • RE: Record Delete is slowing server

    just my 2ct.

    If your single transaction delete takes to long, a loop delete may be appropriate for your case.

    declare @tranrows int

    declare @rwcount int

    set @tranrows = 50000

    while 0=0

    begin

    ...

  • RE: sp_who2

    onix-81 (4/19/2012)


    hi, i'm new in this forum but i have a question, where i can find the sp_who2 script for sybase V15.5? thanks a lot.

    For Sybase I wouldn't know. This...

  • RE: Multiple Row Update in Triggers

    keep in mind to also check your inserted set for duplicates.

  • RE: Multiple Row Update in Triggers

    How about replacing your IF (SELECT ISNULL(i.PRCode,'') FROM inserted AS i) = ''

    with

    IF exists ( SELECT * FROM inserted AS i where ISNULL(i.PRCode,'') = '' )

    ...

  • RE: Need to optimize the select query

    GilaMonster (4/18/2012)


    ALZDBA (4/18/2012)


    IMO, because your query selects directly on the PK column, which is defined as clustering ix ( sql server will make a pk index clustered if the object...

  • RE: precautions before applying critical patches

    GilaMonster (4/18/2012)


    ALZDBA (4/18/2012)


    and if it is being hosted on a virtual machine .... ask your VM/Hyper-V sysadmins to take a snapshot before you start your upgarde ! ( easy revert...

  • RE: SQL 2008R2 just keeled over

    C3PO's twin (4/17/2012)


    ... I was wondering if people do a regular reboot of SQL as a general maintenace task.

    No. It is concerned a bad practice because after startup of the...

  • RE: precautions before applying critical patches

    and if it is being hosted on a virtual machine .... ask your VM/Hyper-V sysadmins to take a snapshot before you start your upgarde ! ( easy revert )

  • RE: Need to optimize the select query

    apparently someone applied DataTuningAdvisor indexes, which is BAD if applied blindly. _dta_index_TMPPACKAGEOPTION_Opti

    IMO, because your query selects directly on the PK column, which is defined as clustering ix ( sql server...

  • RE: SSMS n00b Question!

    Did you install SSMSToolspak [/url]? ( which is very good , but has this behavior by default, but you can change it)

  • RE: Create Nonclustered Index hangs and won't complete

    HW is supposed to be ok, how about the batteries ? ( I/O caching on/off will be noticeable )

    Did you try a scenario "disable index + load + enable index...

  • RE: Get only 100 records in a transaction using LSN

    Can you post your sqlserver instance version information ( @@version ) so we are sure we're posting for the correct one ? ( rtm sp1/sp2 R2 R2sp1 )

Viewing 15 posts - 1,381 through 1,395 (of 7,498 total)