Table of Contents
-
About The Project
-
Getting Started
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgments
About The Project
I needed a simple executable to explore and export data from an Oracle DB on a locked down corporate laptop/network. This was my starting point for an automated data retrieval program which I can't share publicly. This repo is public in hopes that someone else will find it useful.
Here's why:
- Oracle CLI produces broken CSV files
- Oracle Developer didn't work for me either.
- This is lightweight and simple;
Of course, no one tool will serve all projects since your needs may be different. So you may also suggest changes by forking this repo and creating a pull request or opening an issue.
(back to top)
Built With
(back to top)
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
You will need to install Go.
Installation
To get this up and running:
-
Clone the repo
git clone https://github.com/sixcolors/orasuck.git
-
Install Go mods
go mod tidy
-
Build orasuck
go build -o orasuck main.go
GOOS=windows GOARCH=386 go build -o orasuck.exe main.go
(back to top)
Usage
- Query and display (pretty) to stdout
orasuck -server "oracle://user:pass@server/service_name" "select * from my_table"
- Query and export to csv file
orasuck -server "oracle://user:pass@server/service_name" -file "out.csv" "select * from my_table"
(back to top)
Roadmap
See the open issues for a full list of proposed features (and known issues).
(back to top)
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
)
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the Branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
(back to top)
License
Distributed under the MIT License. See LICENSE.txt
for more information.
(back to top)
@sixcolors
Project Link: https://github.com/sixcolors/orasuck
(back to top)
Acknowledgments
I've used the following projects as dependencies.
(back to top)