# batchsql **Repository Path**: chzsw/nfin ## Basic Information - **Project Name**: batchsql - **Description**: 一个简单的sql执行工具,对excel文件提供的sql进行执行,并将执行结果保存到excel中。 暂时只支持oracle数据库,如果要使用mysql数据库,只需要实行IExecuteSql接口。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-09-29 - **Last Updated**: 2023-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # batchsql #### 工具介绍 一个简单的sql执行工具,对excel文件提供的sql进行执行,并将执行结果保存到excel中。 暂时只支持oracle数据库,如果要使用mysql数据库,只需要实行IExecuteSql接口。 #### 使用 1、使用前在config.properties中配置好相关参数,config.properties 中配置了输入源与输出文件的位置。 2、excel模板文件作为输入源:(格式必须为resources下的sql模板.xlsx) 注意: 1、”执行体“ 字段为具体执行的sql,要求最后不能加分号(;) 2、如果sql存在占位符,格式为 ${字符},同时在 config.properties要配置占位符对应的具体值