2016年11月2日

摘要: 当在写存储过程以及函数时,变量不要跟表字段的名字一样,如果出现这样的情况,如 select * from User u where u.name =name; 则相当于这个条件永远成立 select * from User u where 1 =1; 变量名可适当加前缀P_或者V_,或者其他前缀,保 阅读全文
posted @ 2016-11-02 14:36 zgz2016 阅读(396) 评论(0) 推荐(0) 编辑

导航