Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with importing data

Status
Not open for further replies.

cmarchman

Programmer
Jun 18, 2004
56
US
Here's the situation:

I've got a file that has been arranged in the following manner;

Session| (this is on a single line)
Issue|3508|IP Disclosure|20|<summary of issue>|<execution of issue>|<implication of issue>|<solution to issue>|<references (this is one a long single line)
Issue|45|Directory found (<directory>)|25||<summary of issue>|<execution of issue>|<implication of issue>|<solution to issue>|<references ( and this is on a long single line )

Session|Issue|<etc.>
Issue|<etc.>
Issue|<etc.>

Session| (I think you get the picture)

I am trying to write a script in Perl DBI to place the data of the Session line into a table "Sessions", then have the data of the Issue line put into a table "Issues" and have an association between the Sessions and Issues tables as per the " which is the URL that was tested.

Any ideas are welcomed.

Thanks,

cmarchman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top