From 2a8110ef1771eca685a66237f2f7119a4ec4913b Mon Sep 17 00:00:00 2001 From: Pranav Jandu Date: Sat, 13 May 2023 11:10:16 +0530 Subject: [PATCH] Update SQLServer DDL script to drop sequences instead of tables Resolves #4373 (cherry picked from commit 384b8a095ccf67a30c995ce849a5b8cf7c4af575) --- .../springframework/batch/core/schema-drop-sqlserver.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-batch-core/src/main/resources/org/springframework/batch/core/schema-drop-sqlserver.sql b/spring-batch-core/src/main/resources/org/springframework/batch/core/schema-drop-sqlserver.sql index d217ec569..247ae2076 100644 --- a/spring-batch-core/src/main/resources/org/springframework/batch/core/schema-drop-sqlserver.sql +++ b/spring-batch-core/src/main/resources/org/springframework/batch/core/schema-drop-sqlserver.sql @@ -7,6 +7,6 @@ DROP TABLE BATCH_JOB_EXECUTION_PARAMS; DROP TABLE BATCH_JOB_EXECUTION; DROP TABLE BATCH_JOB_INSTANCE; -DROP TABLE BATCH_STEP_EXECUTION_SEQ; -DROP TABLE BATCH_JOB_EXECUTION_SEQ; -DROP TABLE BATCH_JOB_SEQ; +DROP SEQUENCE BATCH_STEP_EXECUTION_SEQ; +DROP SEQUENCE BATCH_JOB_EXECUTION_SEQ; +DROP SEQUENCE BATCH_JOB_SEQ;