Home Forums SQL Server 2008 T-SQL (SS2K8) How to delete all rows if one row meets a criteria RE: How to delete all rows if one row meets a criteria

  • From the description, I would suspect you want an IF EXISTS construct. But really need DDL, sample data and expected results to be sure.

    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