clean up remaining test suite failures

- stored procedure parameters
This commit is contained in:
Steve Ebersole 2022-01-19 15:41:34 -06:00
parent e2db993578
commit bfe2e84ee2
1 changed files with 9 additions and 4 deletions

View File

@ -412,13 +412,18 @@ public class OracleStoredProcedureTest {
); );
statement.execute( statement.execute(
"create or replace function find_char(in char search, in varchar string, in integer start default 0) " + "create or replace function find_char(" +
" search in char, " +
" string in varchar," +
" start in integer default 0) " +
"return integer " + "return integer " +
"as begin " + "as " +
" select instr( search, string, start ) as position " + " position integer; " +
"begin " +
" select instr( search, string, start ) into position " +
" from dual; " + " from dual; " +
" return position; " + " return position; " +
"end" "end;"
); );
} }
} ) ); } ) );