IF EXISTS(SELECT 1 FROM tbuserinformation WHERE UserName=@UserName) RETURN; ELSE INSERT INTO tbuserinformation(UserName, Password, Gender) VALUES(@UserName, @Password, @Gender)
懂PostgreSQL语法的给转化一下吧!!!
http://jingyan.baidu.com/article/3ea51489ec3cb452e71bba52.html
我要高级语法教程~~
@最佳损友: 哦,没有