Replies: 7 comments 12 replies
-
I would like to explain why a solution to this question is important to me: For a long time I have been looking for a way to represent real and virtual relationships between objects or object columns together also interactively and graphically, preferably as ER diagrams, with "parents" and "children". Since I am a database designer and not an application developer, I am looking for solutions without having to learn intensively new programming languages besides SQL. In my search I also found SchemaCrawler. With Katacoda I could get an overview, and in "SchemaCrawler - Introduction to the Interactive Shell" step 7, I found
So that's exactly what I'm looking for! Only I'm looking for this for a combination of real and virtual relations. And with the possibility to use different sets of virtual relations. Hence, then my first request #407 And that was even implemented, so now I had every reason to test SchemaCrawler with my own databases. The start was not easy, but solutions were found #410 Now to be able to use SC as planned, i.e. with That's why this post here. |
Beta Was this translation helpful? Give feedback.
-
@aisbergde - that is strange behavior. Let me see what is going on in SchemaCrawler. |
Beta Was this translation helpful? Give feedback.
-
@aisbergde - I took a close look at what you are doing.
|
Beta Was this translation helpful? Give feedback.
-
@aisbergde - did you solve your issue with filtering on specific tables with parents and children? |
Beta Was this translation helpful? Give feedback.
-
@sualeh - no, I can't find, how to filter a specific table using maybe, the not existing But it looks like I can use Of course it would be fine if I could find a way to |
Beta Was this translation helpful? Give feedback.
-
@aisbergde - for some reason, you need to use
Please let me know if this works for you. You can also connect using |
Beta Was this translation helpful? Give feedback.
-
@aisbergde - please use SchemaCrawler 16.14.2 |
Beta Was this translation helpful? Give feedback.
-
From the katacode examples I understand, that I should use grep and filter to filter out some objects with their "parents" and "children". This is exactly, what I need. But I don't get it realized.
First I used
limit
to filter one database (dhw_self) and one specific table in this database, this worksit doesn't work when I omit the
limit --schemas=dhw_self\..*
I also tried to use some schema pattern instead of the exact database name, but this doesn't work, the result is empty
Now I want to use
filter
to show some parents or childrenMy understanding:
filter
needs to be used with grepSo first I need
grep
to get work:BTW, I don't understand the output which is generated in katacoda example
SchemaCrawler - Introduction to the Interactive Shell
Step 5
grep --grep-columns=(?i).*data
this should filter for columns ending on
data
, but the result is something different. There are tables listed, not containing columns ending indata
So I am very confused about the usage of grep and the
help grep
doesn't clarify this for me.I also had a look on file:///C:/ProgramData/chocolatey/lib/schemacrawler/schemacrawler-16.14.1-distribution/examples/grep/grep-readme.html
but it doesn't help me
Back to my goal:
There is no
grep --grep-tables
That's why my understanding is, I need to use
grep --grep-columns
to filter a specific tableI try this, to filter the table
dhw_self.repo.RepoObject
and this
Because I think I need to define the whole qualified name for the table and at the end
\..*
for.AnyColumnName
But this doesn't work, I get all objects of the database, grep doesn't filter anything. I get the same result which I get without grep
Beta Was this translation helpful? Give feedback.
All reactions