Skip to content

mapleneverfade/code_review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL代码扫描说明

1、主程序main.py检测SQL代码禁止语法。

2、err目录中err_define、 err_detect、 err_print分别为禁止语法的定义、检测、输出文件。

3、options定义传给main.py的参数:

--folderName 指定待检测SQL脚本目录路径,默认为 './test'
--dstPath    指定输出文件路径,默认为 './result/检测结果.txt'

例如,待检测SQL脚本存放于目录 c://sql, 将检测结果存放在 c://result

     python main.py --folderName c://sql --dstPath c://result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published