Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: How to delete duplicated rows in a table

    Here's one that we recently did in the real world:

    CREATE PROCEDURE spGMSRMRemovePODetailDupes

    AS

    select count(*) as NumberOfDupes,

    max(grsinterfacePODetailsID) as MaxIDNumber,

    RequestNo as ReqNo,

    StatusCode as StatCode,

    StatusDate as StatDate

    into #TempFindDupes

    from GRSInterfacePODetails...

Viewing post 1 (of 1 total)