If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > local database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-29-04, 14:39
fillio fillio is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
local database

I am afraid i am quite new in the world of programming...well the problem stands like this..
i have to implement through JDBC a nework search , get some documents back, parse them and store the information into a local database.
My question is, that in order to populate the local database do you need to make a master temporary table or a view and then populate your local database. Do you have to use the 'merge' command to ensure no data duplication and data overwrite?
Reply With Quote
  #2 (permalink)  
Old 02-29-04, 15:20
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: local database

I'm not sure if I have undersood your question ....

If you want to put something into a database, you will need a table ... To make sure you do not have duplicate entries, you will have to create a primary key (For eg, in employee table, the employee id can be the primary key )

BTW, what database are you planning to use ? I ask this question because you have cross posted in Oracle forum also ..

Cheers
Sathyaram



Quote:
Originally posted by fillio
I am afraid i am quite new in the world of programming...well the problem stands like this..
i have to implement through JDBC a nework search , get some documents back, parse them and store the information into a local database.
My question is, that in order to populate the local database do you need to make a master temporary table or a view and then populate your local database. Do you have to use the 'merge' command to ensure no data duplication and data overwrite?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On