---开启事务 begin tran delete from newscate where _cateid=22 commit tran --提交事务,执行sql语句 rollback tran; --回滚事务,撤消执行