原文:SQL 错误 [30028] [42000]: COMPILE FAILED: Semantic error: [Error 30028] Line 1:7 PLSQL function is running in a non-driver environment, usually in SQL statement which doesn't allow nested SQL statement.

.首先看下oracle中如何实现调用标准sqlcreate or replace function test hkRETURN dateISv DATE BEGINselect sysdate into v from dual RETURN v END test hk 调用方法 :语句块调用set serveroutput ondeclarevar date date BEGINvar date ...

2020-01-17 09:46 0 1175 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM