最新回答 / 石凌枫
不类似,1.Decode是Oracle特有的;2.case...when 是Oracle, SQL Server,MySQL 都可用;3.Decode 只能用做相等判断,但是可以配合sign函数进行大于,小于,等于的判断;case可用于=,>=,<,<=,<>,is null,is not null 等的判断;4.Decode使用起来比较简洁,Case虽然复杂但更为灵活
2016-11-22
其实是drop tablespace test1_tablespace including contents and datafiles;这样才能同时删除表空间以及数据文件,不加datafiles的话。。反正我是没看到数据文件删除了。。
2016-11-17