SQL Delete Query
        Posted  
        
            by jerle78
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jerle78
        
        
        
        Published on 2010-06-08T14:18:39Z
        Indexed on 
            2010/06/08
            14:22 UTC
        
        
        Read the original article
        Hit count: 200
        
sql
|sql-server-2005
I need to write an SQL script that selects one record in table1, then does a lookup in the remaining tables in the database. If it doesn't find the record, I need delete the record from table1. Anyone provide some sample script?
© Stack Overflow or respective owner