Forum Replies Created

Viewing 15 posts - 39,496 through 39,510 (of 49,552 total)

  • RE: Physically moving the database to be used ona separate server

    Backup/restore is probably easiest. Put a backup on the CD with instructions on how to restore. You'll also have to explain how to relink the access tables, as they refer...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Multy part identifyer Bite...table not found

    Does this work?

    DELETE d

    FROM DAO...fnb_debtor_branchmapping d INNER JOIN fnb_debtor_branchmapping_sync AS a ON d.debtor_code=a.debtor_code

    AND d.branch_code=a.branch_code

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Delete table, who did it?

    Ken Simmons (4/24/2009)


    You may be able to use a third party transaction log reader to track it down. I have used Apex Log Reader in the past to find...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Stored Procedure

    GilaMonster (4/24/2009)


    Please post some existing sample data from the table. The very first link that I gave you shows how to do that easily.

    Why can't you change the table structure?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Delete table, who did it?

    WayneS (4/24/2009)


    GilaMonster (4/24/2009)


    Unless you had a trace active, no way to tell.

    or a DLL trigger?

    SQL 2000

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Delete table, who did it?

    Unless you had a trace active, no way to tell.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Row level locking

    In that case, I would suggest that you drop that unique clustered index and create a primary key on the columns ([Lock_RecordId], [Lock_TableId]) (In that order!)

    That at least will stop...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Row level locking

    Michael Valentine Jones (4/24/2009)


    This delete is a likely source of you problem:

    /********************************QUERY 2*******************************/

    (@1 int,@2 tinyint,@3 nvarchar(4000))

    DELETE [LOCKS]

    WHERE coalesce([Lock_TableId],@1)=@2

    AND [Lock_RecordId]=@3

    Since column [Lock_TableId] cannot be null, there is no...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Code level changes while migration from SQL Server 2000 to SQL Server 2005

    Grant Fritchey (4/24/2009)


    Yeah, it actually would be fun just to tear through the servers running the install software everywhere and then watch the phone light up like a Christmas tree.

    The...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Code level changes while migration from SQL Server 2000 to SQL Server 2005

    Jeffrey Williams (4/24/2009)


    Or preferably test it before you upgrade, by setting up the DB on a test server with 2005 on.

    Though, I must admit, there's little that gets adrenaline pumping...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Row level locking

    The other thing I could suggest is that you dig out some of the queries that often get blocked as well as the queries that are typically the cause of...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Row level locking

    usman.tanveer (4/24/2009)


    The only concern i have is, its a very critical production db and i am afraid enabling Snapshot isolation will give me performance hit by adding more burdon on...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: LOGON TRIGGER HELP

    Is it all sorted out now?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Oracle create table syntax

    No odd characters, I checked, deleted and retyped pieces by hand. There's just a new line between the two (CR LF). I was wondering if I was missing a batch...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Maintenance Plan - System Databases - More than just backup?

    Integrity checks of the system databases (master, model, msdb) are highly recommended. Corruption in those can be very hard to fix if you don't have a clean backup, and without...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 39,496 through 39,510 (of 49,552 total)