![]() |
#2
笨鸟2009-10-15 13:48
|
在mysql中支持if exists么?
例如
if not exists (select * from test where id = 'n30601035' and name = 'gaofei')
begin
insert into test values('n30601035', 'gaofei')
end