dbTalk Databases Forums  

Loading data

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Loading data in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Srinivas Iyyer
 
Posts: n/a

Default Loading data - 10-11-2004 , 03:19 PM






Dear Group,
I have two tables:
1.
exp_id | exp_name | exp_type | exp_desc | exp_logic
--------+----------+----------+----------+----------


2.
data_id | exp_id | data_present | data_past |
data_mean
---------+--------+--------+--------+------------------


I have my data_present, data_past and data_mean in a
text file. I have my exp_id in experiment table.

Now I have to load 10 different experimental data
(exp_id range : 1-10)

How can I tell postgresql :

1. from which data_id my exp_id changes. For example
data_id from 1 to 100 will be exp_id : 1 and data_id :
101-200 will be exp_id : 2. How will I know what was
the last data_id number and ask postgres to take the
next row as next exp_id.

Please help.

Thank you.

Srini



_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.