On Thursday 16 Feb 2012, Andreas wrote:
> Hi
> I get CSV files to import.
> Th structure is like this.
> main part, sub part
> Could be like this
>
> A, a1
> A, a2
> A, a3
> B, b1
> B, b2
>
> The database has a table for main_part and one for sub_part.
> The relation needs to be n:m so there is a
12 8:03 PM
>> To: [email protected]
>> Subject: [SQL] need help with import
>>
>> Hi
>> I get CSV files to import.
>> Th structure is like this.
>> main part, sub part
>> Could be like this
>>
>> A, a1
>> A, a2
>> A, a3
>>
Am 16.02.2012 02:13, schrieb David Johnston:
-Original Message-
From: [email protected] [mailto:[email protected]] On
Behalf Of Andreas
Sent: Wednesday, February 15, 2012 8:03 PM
To: [email protected]
Subject: [SQL] need help with import
Hi
I get CSV
-Original Message-
From: [email protected] [mailto:[email protected]] On
Behalf Of Andreas
Sent: Wednesday, February 15, 2012 8:03 PM
To: [email protected]
Subject: [SQL] need help with import
Hi
I get CSV files to import.
Th structure is like this.
main
Hi
I get CSV files to import.
Th structure is like this.
main part, sub part
Could be like this
A, a1
A, a2
A, a3
B, b1
B, b2
The database has a table for main_part and one for sub_part.
The relation needs to be n:m so there is a relation table that holds (
main_id, sub_id ).
The 2 primary key