Insert if not exists. Exists sql примеры. if exists sql. sys triggers. clips exists пример.