Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 SQL Developer 中查看执行更新语句的确切结果,而不是只更新行数?当然是在提交声明之前。我想看看对受语句影响的行进行了哪些更改以及哪些行受到了影响,但我找不到办法。
我不认为有办法得到你想要的,即查看更新语句的确切结果。
在更新或删除语句的 WHERE 子句中运行具有相同条件的选择查询以在运行任何重要的更新或删除语句之前查看将受到影响的记录几乎总是一个好主意。
您还可以使用 SQL History 选项卡(查看(在菜单栏中)-> SQL History 或按 F8)查看过去执行的所有 SQL。这适用于 Oracle SQL Developer 版本 3.1.xx