oracle嵌套查询的问题
单独执行selectsubstr(max(FILE_NAME),-6,2)fromdba_data_fileswheretablespace_name='ITSCHDSE...
单独执行select substr(max(FILE_NAME),-6,2) from dba_data_files where tablespace_name ='ITSCHDSERVERDATA';和select to_char('02'+1,'00') from dual;都能执行,为什么select to_char('(select substr(max(FILE_NAME),-6,2) from dba_data_files where tablespace_name ='ITSCHDSERVERDATA')'+1,'00') from dual;就不行呢
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询