SOCI/soci

Is there a method to export sql script file from db?

tanbing001 opened this issue · 5 comments

Is there a method to export sql script file from db?
vadz commented

No and I'm not sure this question makes sense, at least not without explaining what exactly do you mean by "SQL script file".

vadz commented

This is not something that is natively provided by the database, AFAIK, so I don't think SOCI cash reasonably provide anything like this.

A better idea would be to use the database-specific backup format (which could be SQL, as for PostgreSQL, but could also be something completely different as for e.g. SQL Server).