how to insert new record in my table if not exists?sql server 2005 - CodeProject

how to insert new record in my table if not exists?sql server 2005 - CodeProject

瀏覽:1210
日期:2026-04-23
Free source code and tutorials for Software developers and Architects.; Updated: 27 Feb 2011 ... so it should be: insert into tablename (code) Select '1448523' From tablename Where not exists(select * from tablename where code='1448523')...看更多