Microsoft C360 manual Odbc Settings, Select * from Contacts

Page 44

3. ODBC Settings.

You need to give ImportManager 2008 a connection string to the ODBC Source to which you want to connect.

In our example we wish to connect to a SQL Server 2005 Database and so we need the following connection string:

Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

After we change it to correspond with the database used in our example it looks like this:

Driver={SQL Native Client};Server=.;Database=Contacts;Uid=ImportUser;Pwd=Password#1;

Note that the User ID (Uid) and Password (Pwd) used here, is for a user created by a SQL

script when ImportManager 2008 is installed and thus they shouldn't be changed unless you've specifically overridden this script and created a different user!

We need a SQL statement that collects the data we need. In our example the following statement will do:

SELECT * FROM Contacts

As seen in the screen above, it is then possible to do a test to see if the connection string and the SQL statement are correct. This will, provided they are correct, result in the following two messages.

Image 44
Contents C360 Import Manager User Guide Table of Contents Features IntroductionInstallation and Setup Installer Startup RequirementsShort Version Detailed VersionWelcome End-User License Agreement Destination FolderReady to Install Database ServerInstalling CompletedEdit web.config ConnectFile Download Security Warning IE Security WarningSelect Installation Folder Confirm Locate login information CompleteLogin Start ImportManagerStarting up/connecting FinishedLicense Creating a ServerCreate Server Choose Server TypeConnection Information Choose licensing methodCreating a User Add UserUser Details Save User Associating ServerUser Associated Log CheckText Source Setting up the Data Source Upload FileSimple Import Browse to the file New Data Source Data SourceText File Settings Setting up the Package New Package DoneOverview Page Setup Import Rule Import Rules Overview Matching Add Filter Add Conditions Page Field Mapping Page Run Import Page Done Setting up the Data Source New Data Source Odbc SourceData Source Selection Odbc Settings Select * from ContactsSetting up the Package Create Package Package OverviewSetup Import Rule Create Rule Rule Overview Matching Field Mappings Save & Run Finished FAQ and Common Errors Login failedRemote name could not be resolved ‘local Error Appendix a Installing SQL