Skip to content

ideaxy/sql_exec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql_exec

Execute the SQL statement and save the result

Usage

python3 main.py <connect information> <database type>

  • connect information:user/password@ip:port/service_name
  • database type:oracle or mysql

Create a file named exec.sql in current directory. The main.py file uses the connection information and the SQL statements in the sql_exex.sql file to run and writes the query results into the select_results.txt file. Currently, only SELECT queries are supported.

About

Execute the SQL statement and save the result

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages