Winfred

Results 11 comments of Winfred

# 测试 测试使用了三个文件,前两个使用的是文件模式,最后一个使用的是SQL模式。测试SQL由AI生成, 基础Prompt: ``` 对于MySQL,请帮助我写一些SQL,必须满足: 1. 尽量包含各种类型的SQL语句 2. 其中有一些包含带有BEGIN END的语句块,这些语句块需要使用自定义分隔符来分隔 3. 由于这些数据是用于测试,在MySQL上运行完毕之后数据需要清除,因此请您在创建表、视图、存储过程等对象后,在SQL文本的最后,请给出相应的删除语句。 感谢 ``` 测试文件: [test_db.employees.txt](https://github.com/user-attachments/files/16094205/test_db.employees.txt) [test_db.projects.txt](https://github.com/user-attachments/files/16094206/test_db.projects.txt) [test_db.department.txt](https://github.com/user-attachments/files/16095767/test_db.department.txt) ## 测试结果截图 测试执行的文件均能执行成功,符合预期 - 使用文件模式 ![screencapture-10-186-62-32-9999-sqle-project-700300-exec-workflow-66-files-6-sqls-2024-07-04-14_13_27](https://github.com/actiontech/sqle/assets/31072467/e92ecee9-5229-4806-83f7-91e679e83940) ![screencapture-10-186-62-32-9999-sqle-project-700300-exec-workflow-65-files-5-sqls-2024-07-04-14_10_48](https://github.com/actiontech/sqle/assets/31072467/81d65707-1b4d-4c93-b743-d5c6caf761cb) - 使用SQL模式 ![screencapture-10-186-62-32-9999-sqle-project-700300-exec-workflow-1808780996166815744-2024-07-04-16_33_21](https://github.com/actiontech/sqle/assets/31072467/0954847d-130e-44cf-bd9a-da8019f6896f)