sql - Import database from File PROGRAMMATICALLY? -
What is a method to import a whole database from a file with a file from SQL ?? (Either C.CV, SQL and DB files are OK)
Thanks!
After clearing, edit:
I'm interested in a solution, the database is independent (with all types of database (MySQL, SQL Server, Postgres, Oracle ...)
SQL Server: Apparently there is command.
You are not searching for a database-independent syntax for SQL commands, because there is not one.
A wrapper around the database The library can be but I am not aware of it. (Or you can try to use the Odbi, but it is connection oriented and will not allow direct access to any file)
Perhaps there is a software tool related to an interactive GUI, to do this.
Also keep in mind that loading data directly from a file to a database on a database server is almost certainly Sector requires security privileges (o If it is a security risk).
Comments
Post a Comment