Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephenwakely/sqlrefactor
Little tool to ease the process of refactoring sql monsters
https://github.com/stephenwakely/sqlrefactor
Last synced: about 2 months ago
JSON representation
Little tool to ease the process of refactoring sql monsters
- Host: GitHub
- URL: https://github.com/stephenwakely/sqlrefactor
- Owner: StephenWakely
- License: mit
- Created: 2015-09-03T13:43:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-03T13:49:07.000Z (over 9 years ago)
- Last Synced: 2024-04-12T16:08:01.117Z (10 months ago)
- Language: C#
- Size: 2.91 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sqlrefactor
Little tool to ease the process of refactoring sql monsters. Provides a comparison between the original query and the refactored one as well as maintaining a history of the iterations.Its a common scenario. You are faced with a massive three page SQL query that for some reason runs incredibly slowly. It's enough to put the fear of Beelzibub into any developer.
The query needs to be refactored, but it is so complex that even the slightest wrong change could change the resultset drastically.
SQL Refactor is a simple app to make this process easier.
Paste the query into the Base Query tab.
Then paste it into the Iterations tab. And start refactoring. When you make a change, run the query. The app will compare the results of the new query with the base query and report any changes. If the results are the same keep on going until you are happy with the performance.
If the results are different, you know you have messed up the refactoring. Step back to the previous iteration and carry on from there.