here you go!another problem about orphaned transactions that has risen from all this is here:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=98747basicaly my query from the client is:begin trandelete PDM_MasterItems where id = 100-- here connection goes down so the so the transaction is orphaned
running in SSMSselect object_name(P.object_id) as TableName, resource_type, resource_descriptionfrom sys.dm_tran_locks L join sys.partitions P on L.resource_associated_entity_id = p.hobt_id/* result:TableName resource_type resource_descriptionPDM_MasterItems PAGE 1:204PDM_MasterItems KEY (6400b740ff6a)*/DBCC TRACEON(3604)GODBCC PAGE('MyDbName', 1, 204, 1)/*-- relevant output:-- my ID and markings of a ghost record are in bold redPAGE: (1:204)BUFFER:BUF @0x03434DA8bpage = 0x31D6C000 bhash = 0x00000000 bpageno = (1:204)bdbid = 18 breferences = 1 bUse1 = 40803bstat = 0x1c0000b blog = 0xbbbbbbbb bnext = 0x00000000PAGE HEADER:Page @0x31D6C000m_pageId = (1:204) m_headerVersion = 1 m_type = 1m_typeFlagBits = 0x4 m_level = 0 m_flagBits = 0x0m_objId (AllocUnitId.idObj) = 89 m_indexId (AllocUnitId.idInd) = 256 Metadata: AllocUnitId = 72057594043760640 Metadata: PartitionId = 72057594038648832 Metadata: IndexId = 1Metadata: ObjectId = 181575685 m_prevPage = (0:0) m_nextPage = (1:115)pminlen = 96 m_slotCnt = 17 m_freeCnt = 1433m_freeData = 7766 m_reservedCnt = 0 m_lsn = (32:697:31)m_xactReserved = 0 m_xdesId = (0:1468) m_ghostRecCnt = 1m_tornBits = 0 Allocation StatusGAM (1:2) = ALLOCATED SGAM (1:3) = ALLOCATED PFS (1:1) = 0x68 MIXED_EXT ALLOCATED 0_PCT_FULL DIFF (1:6) = CHANGEDML (1:7) = NOT MIN_LOGGED DATA:Slot 0, Offset 0x1d1f, Length 311, DumpStyle BYTERecord Type = GHOST_DATA_RECORD