随笔分类 - 数据库 -- mysql
摘要:1 (select recharge_arrive_time as time,recharge_amount as amount,state,'充值' AS type from onlinerecharge where user_id=1) 2 UNION 3 (select confirm_time as time,withdraw_cash_amount as amount,stat...
阅读全文
摘要:创建数据库 查看当前服务器下数据表列表 修改数据库 删除数据库 https://www.cnblogs.com/jiangxiaobo/p/7089345.html
阅读全文
摘要:如果存储过程中没有执行commit,那么spring容器一旦发生了事务回滚,存储过程执行的操作也会回滚。如果存储过程执行了commit,那么数据库自身的事务此时已提交,这时即使在spring容器中托管了事务,并且由于其他原因导致service代码中产生异常而自动回滚,但此存储过程是不会回滚,因为数据
阅读全文

浙公网安备 33010602011771号