473,473 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Importing an Access DB

Hi all.

I am completely new to db2 (v8.2.2) and am trying to import an access db
into it. I have read the documation but no success,
Any ideas or help would be greatly apprectiated

regards

Nic
Aug 25 '06 #1
2 1837
virgin wrote:
I am completely new to db2 (v8.2.2) and am trying to import an access db into it. I have read the documation but no success,
Any ideas or help would be greatly apprectiated
I did not see the documentation for and my discussion could be naive...

If not so much tables ( order of tens ) in your Access database you could build Db2 table definitions by hands. For data migration you could use CSV. "Access" supports export to CSV and DB2 supports import from CSV. Some VBA macros could help you automate export the data and definitions from Access if your database is larger.

The another way you could try for metadata migration: Import database definition from Access to some visual designer, like ERwin, revise, generate DB2 script for object definitions, revise again and run it.

The another way to for data migration: in Access create links to tables in DB2 database. Then just write the set of simple Access queries like:
insert in newDb2Table
select * from OldAccessTable;

--
Konstantin Andreev.
Aug 25 '06 #2
Success

Thanks
"Konstantin Andreev" <pl**********@datatech.ruwrote in message
news:ec**********@dns.comcor.ru...
virgin wrote:
>I am completely new to db2 (v8.2.2) and am trying to import an access db
into it. I have read the documation but no success,
Any ideas or help would be greatly apprectiated

I did not see the documentation for and my discussion could be naive...

If not so much tables ( order of tens ) in your Access database you could
build Db2 table definitions by hands. For data migration you could use
CSV. "Access" supports export to CSV and DB2 supports import from CSV.
Some VBA macros could help you automate export the data and definitions
from Access if your database is larger.

The another way you could try for metadata migration: Import database
definition from Access to some visual designer, like ERwin, revise,
generate DB2 script for object definitions, revise again and run it.

The another way to for data migration: in Access create links to tables in
DB2 database. Then just write the set of simple Access queries like:
insert in newDb2Table
select * from OldAccessTable;

--
Konstantin Andreev.

Aug 26 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Grim Reaper | last post by:
I am importing a .csv file into Access that has 37 fields. My problem is that sometimes the last field only has data at the end of the column (it looks like when you import a file into Access, for...
1
by: sparks | last post by:
I have never done this and wanted to ask people who have what is the best way. One person said import it to excel, then import it into access table. but since this will be done a lot, I am...
7
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the...
5
by: dixie | last post by:
If I sent a user an empty database container - dB with no tables and I needed them to import their tables into it and one of their tables was a hidden table with the prefix Usys, is there any way...
2
by: nutthatch | last post by:
I want to be able to import an Excel spreadsheet into Access 2K using the macro command Transferspreadsheet. However, the file I am importing (over which I have no control) contains some records...
1
by: winzy | last post by:
I have a table in Access which needs updating from an Excel file. Instead of importing the whole Excel like a new table in Acess, how do I do a partial import/update?? For example, Access table...
5
by: hharriel | last post by:
Hi, I am hoping someone can help me with an issue I am having with excel and ms access. I have collected data (which are in individual excel files) from 49 different school districts. All...
1
by: ltikusis | last post by:
I am currently using the trial version of MapPoint 2006 and I am having problems mapping data from Access queries. When importing a query, MapPoint does not match any of the fields to the map. I've...
3
by: mukeshsrivastav | last post by:
dear sir i want to move form excel to access. i have 5 excel file having same formats and fields.now i want to import all data in one access table. importing one file is easy .but importing and...
1
by: aconti74 | last post by:
Hello I am new to vba programming/coding. I am writing a program that goes through a directory of text files and imports them into the database. The problem is eventually the database gets to big...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.