Specify Table Copy or Query (SQL Server Import and Export Wizard)
Use the Specify Table Copy or Query page to specify how to copy data. You can use a graphical interface to select the existing database objects you want to copy, or you can use Transact-SQL to create a more complex query.
When you select an ODBC source by selecting the .Net Framework Data Provider for Odbc on the Choose a data source page, the provider is unable to enumerate the tables and views available at the source. Therefore the Copy data from one or more tables or view option is disabled, and you must write a query to specify the data to transfer.
To learn more about this wizard, see Creating Packages Using the SQL Server Import and Export Wizard. To learn about the options for starting the wizard, as well as the permissions required to run the wizard successfully, see How to: Start the SQL Server Import and Export Wizard.
The purpose of the SQL Server Import and Export Wizard is to copy data from a source to a destination. The wizard can also create a destination database and destination tables for you. However, if you have to copy multiple databases or tables, or other kinds of database objects, you should use the Copy Database Wizard instead. For more information, see Using the Copy Database Wizard.
- Copy data from one or more tables or views
Copy fields from selected source tables and views to the specified destination or destinations by using the Select Source Tables and Views dialog box. Use this option if you want to copy all data in the source without filtering or ordering records.
- Write a query to specify the data to transfer
Build SQL statements to retrieve rows by using the Provide a Source Query dialog box. Use this option if you want to modify or restrict the source data during the copy operation. Only the rows matching the selection criteria are available for copying.