Transform multiple create table statements into excel documentation #164
nicoDs96
started this conversation in
Show and tell
Replies: 1 comment
-
@nicoDs96 this is an amazing feedback that inspire me a lot to continue work on it and deliver new versions. But I’m alone )))) peoples who opens the issues helps a lot because they provides data samples and report about problems. But I have a lack of time to deliver fixes faster :( but thank you for the amazing feedback! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
one of my task of the week was to document into an excel file all the tables of the database. Using my DB client (DBeaver) I was able to create a giant .sql file with all the create tables.
Then I should put one by one all the table name, the schema, the fields and the fileds' type, the source etc. into an excel file.
Here is where I found this amazing library that made me complete the task in 20 minutes instead of days.
Let's see how...
I have DDL.sql
I shoud document those tables into an excel file like:
I ended up doing this task with a tiny python script (named ddl2tsv.py):
and then
python ddl2tsv.py > doc.tsv
Now I only need to open the tsv file and copy paste the columns into the doc file and do some small adjustments.
In conclusion, thank you guys for this amazing tool you provided to us!
Beta Was this translation helpful? Give feedback.
All reactions