update tbl_CDR_Distributors set cdr_dstcode = where ownerId = and fsl_tablecode = and cdr_recordId = select * from tbl_CDR_DstCodes with (nolock) where ownerId = and ownerType = and cdr_recordId = and cdr_dstcode = insert into tbl_CDR_DstCodes values ( , , , , 'M', 'Primary Account Number' ) update tbl_CDR_DstCodes set cdr_dstcode_type = 'M', cdr_dstcode_comments = 'Primary Account Number' where ownerId = and ownerType = and cdr_recordId = and cdr_dstcode =