Table Copy Example
To connect to a data source, select the data to be copied, and copy the data using the Table Copy sample, follow these steps:
-
Start TABLECOPY.EXE.
-
Click Connect to connect to the source data source and click the Machine Data Source tab.
-
Select OLE_DB_NWind_Jet as the source data source and click OK.
Note If you installed the OLE DB SDK in a directory other than the default directory, you will need to change the OLE_DB_NWind_Jet data source to use your directory.
-
In the Tables list, select the Customers table.
-
Click Next to move to step 2 of the wizard, then click Next again to move to step 3 of the wizard.
-
Click Connect to connect to the target data source and click the Machine Data Source tab.
-
Select OLE_DB_NWind_Jet as the target data source and click OK.
-
Type NewCustomers as the new table name in the To box.
-
Click Next to move to step 4 of the wizard.
-
Under Create, clear the Indexes box.
-
Click Next again to move to step 5 of the wizard.
-
Click Finish. The Table Copy sample will create the NewCustomers table and copy the data from the Customers table to the NewCustomers table.