File tree 1 file changed +3
-1
lines changed
src/test/java/com/microsoft/sqlserver/jdbc/unit/statement
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ public class BigDecimalPrecisionTest extends AbstractTest {
27
27
@ BeforeEach
28
28
public void init () throws SQLException {
29
29
try (Connection connection = getConnection ()) {
30
+ String dropProcedureSQL = "DROP PROCEDURE IF EXISTS " + procName1 + ", " + procName2 ;
31
+ stmt .execute (dropProcedureSQL );
32
+
30
33
String createProcedureSQL1 = "CREATE PROCEDURE " + procName1 + "\n " +
31
34
" @big_decimal_type decimal(15, 3),\n " +
32
35
" @big_decimal_type_o decimal(15, 3) OUTPUT\n " +
@@ -41,7 +44,6 @@ public void init() throws SQLException {
41
44
"BEGIN\n " +
42
45
" SET @big_decimal_type_o = @big_decimal_type;\n " +
43
46
"END;" ;
44
-
45
47
try (Statement stmt = connection .createStatement ()) {
46
48
stmt .execute (createProcedureSQL1 );
47
49
stmt .execute (createProcedureSQL2 );
You can’t perform that action at this time.
0 commit comments