You are here: Home » All Software Solutions » How to migrate data from excel to database?

How to migrate data from excel to database?

Automation Anywhere is an intelligent automation software for IT & business processes.
This month's most popular software guide you should know - How to move photos from my iPhone to my computer

1.
Create new task Click on New->Task Editor
2.
Connect to the database Using the Database command from the Application category specify a connection string to connect to the Database Screenshot 1.

Connect to '

3.
Copy records from Excel
  • Let's say you want to transfer Excel records as shown in Screenshot 2
  • Create 4 variables, $Firstname$, $Lastname$, $City$ and $Country$ of type value from Tools->Variable Manager.
  • Copy each cell from Excel and assign the value of Clipboard to respective variables using 'Assign From Clipboard' option in Clipboard command.
4.
Transfer records to the Database
  • Specify Insert query to insert records in destination database. The insert query for this example looks like as follows

INSERT INTO Addresses ( FirstName, [Last Name], City, Country ) VALUES ('$FirstName$', '$LastName$', '$City$', '$Country$');

  • Put these commands in a Loop for as many times as you want to transfer the records from Excel.
  • The final task would look as shown in Screenshot 3
 

When you run this task, it connects to the source database, copies the excel records, with insert query in loop it will add all the records to destination table in the database. This tutorial demonstrates use of one of the very powerful features of Automation Anywhere, 'Database' applications. Use this when you want to migrate large numbers of records from excel or other applications to any database.

Screenshot 1:

Automation Anywhere

Screenshot 2:

Automation Anywhere

Screenshot 3:

Automation Anywhere

Related Software: Automation Anywhere -    

Recommended Essentialware
Windows media player 12
With it, you can play audio, video and viewing images on Windows 7 and have a great experience.
Norton Internet Security 2010
Norton Internet Security 2010 offers comprehensive protection against all types of online threats.
WinRAR 3.9
WinRAR is an powerful archiving utility that completely supports RAR and ZIP archives.

Recommended Mac Software
Senuti for Mac
Use Senuti to quickly and easily transfer music from your iPod or iPhone to your Mac.
VLC Media Player for Mac
VLC for Mac OS X is distributed as a disk image. Download the .dmg file, open it, and copy VLC to your hard drive.
iSquint
iSquint a program for converting videos from the internet to iPod or TV.

by on 22/08/2007Web Developer
Tags:Automation Anywhere, import data from excel to acess, automate complex task, intelligent automation software for it, intelligent software, automation software for business

Tips & Guides Related to How to migrate data from excel to database?

Top Reviews

on Web Developer

  • Adobe Flash Player - SWF Player
    Adobe Flash Player - SWF Player

    "Cross-platform flash video plug-in for web browsers to deliver users wonderful visual effects."

    by Owen Wilson on Sep 7, 2009

  • Flash Gallery Builder
    Flash Gallery Builder

    "Flash Gallery Builder Reviews & Free Download"

    by Heren Watson on Jan 10, 2008

  • CoffeeCup HTML Editor
    CoffeeCup HTML Editor

    "CoffeeCup HTML Editor Reviews"

    by Dr. File Finder on Jan 29, 2008

  • SiteSpinner
    SiteSpinner

    "SiteSpinner Review & Download"

    by Dr. File Finder on Feb 23, 2008