This topic provides a detailed description of command-line switches and examples of how to use them.
To view the list of switches for /dataimport, type the following command:
dbforgesql.com /dataimport /?
Note
To run dbForge Studio CLI commands, open Command Prompt and navigate to the folder that contains
dbforgesql.com. The default path to this executable depends on where dbForge Studio for SQL Server is installed. If you installed dbForge Studio:
- As a standalone tool
"C:\Program Files\Devart\dbForge Studio for SQL Server"
- As part of the dbForge Edge bundle
"C:\Program Files\Devart\dbForge Edge\dbForge Studio for SQL Server"
| Name | Description |
|---|---|
/connection |
Specifies the connection string. Usage: /connection:<connection_string> |
/create |
Creates a new table for the imported data. Usage: /create |
/errormode |
Specifies the application behavior when encountering an error.
Usage: /errormode:<ignore|abort> |
/exitcodes |
Displays the list of exit codes returned by the command-line operation. Usage: /exitcodes |
/inputfile |
(Unavailable for the ODBC format) Specifies the path to the file containing the data you want to import. Usage: /inputfile:<filepath> |
/inputtable |
(Available for Access and ODBC formats) Specifies a table or a view to import the data from. Usage: /inputtable:<tablename> |
/password |
Specifies the server password and overrides the value from the /connection parameter. Usage: /password:<pw> |
/table |
Specifies the target table for the imported data. Usage: /table:<tablename> |
/templatefile |
Specifies a data import template file (.dit). Usage: /templatefile:<filepath> |
/treatwarningaserror |
Specifies the behavior for treating warnings.
Usage: /treatWarningAsError:[Yes|No] |