如果你用oracle,那你有很大的可能会使用pl/sql developer。
在使用pl/sql developer时,当你在table列表或者其他对象列表中右击并选择drop操作时,会弹出确认对话框。
这些对话框的底部会有个don't show this message again的勾选框,如果你不小心勾上并点击了确定,那惨了,,以后如果不小心再选了drop,没有提示就会删掉这个对象!
如何恢复呢?
工具-首选项 (tools-preferences)
打开的界面中选择“用户界面-选项”(user interface-options)
右侧界面中有个“dsa dialogs...”按钮,点击
打开的界面中列出了所有不需要弹出确认对话框的配置信息,事实上,dsa的意思是don't show this message again,如果你之前选择了don't show this message again,那弹出的对话框中的内容应该如下:
;shows a list of dialogs that have the don't show this message again option checked
;you can delete lines for the messages you want to enable
automaticstatisticsdisabled=1
commit=6
recompileok=1
dropselectedobjects=6
droptable=6
在配置项中找到需要恢复确认功能的配置行“droptable=6”,删除这一行后点击确定,即可恢复在drop时弹出确认对话框功能。
