Is it possible to read just the DDL stataments from a database backup in sql format? #2424
Answered
by
manticore-projects
tmoreira2020
asked this question in
Q&A
-
|
hi there, I would like to "extract" only the |
Beta Was this translation helpful? Give feedback.
Answered by
manticore-projects
Apr 6, 2026
Replies: 1 comment 3 replies
-
|
Greetings. Yes, you can:
Good luck and cheers. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your code looks good although
_parseOneStatement()may be misleading: We have parsed the statement at that point already. Do you meanprocessStatement(stmt)instead?ignore all the INSERTis not possible: we know only after parsing what kind of statement it is.Best and cheers.