Hi,
i searched a while on this forum but did not find the answer. I am not very
known of progress. I am sorry.
The dump file i get know the text like names are in "" but numbers are not.
so if i import it and use the space as delimiter, it split´s the names for example.
Import in PHP:
$sql = "LOAD DATA LOCAL INFILE '/var/www/files/zip/name.d' IGNORE INTO TABLE `".$in_temp_tab."` FIELDS TERMINATED BY ' ' ESCAPED BY '\\\\' LINES TERMINATED BY '\\r\\n'";
so, how do i tell my 9.1c progress with my fdumpall.p file (encoded??) that I want
komma separated fields?
name.d dump:
"40518" "105" "Bauer Natalia" "clerk" "" "bn" yes "" yes yes
So it imports like in php with LOAD DATA as
"40518"
"105"
"Bauer
Natalia"
"clerk"
""
"bn"
yes
""
yes
yes
I want the dumped name.d look like:
"40518","105","Bauer Natalia","clerk","","bn",yes,"",yes,yes <= Komma separated!
or
"40518" "105" "Bauer Natalia" "clerk" "" "bn" "yes" "" "yes" "yes" <= ALL WITHIN ""
thx,
fraso
i searched a while on this forum but did not find the answer. I am not very
known of progress. I am sorry.
The dump file i get know the text like names are in "" but numbers are not.
so if i import it and use the space as delimiter, it split´s the names for example.
Import in PHP:
$sql = "LOAD DATA LOCAL INFILE '/var/www/files/zip/name.d' IGNORE INTO TABLE `".$in_temp_tab."` FIELDS TERMINATED BY ' ' ESCAPED BY '\\\\' LINES TERMINATED BY '\\r\\n'";
so, how do i tell my 9.1c progress with my fdumpall.p file (encoded??) that I want
komma separated fields?
name.d dump:
"40518" "105" "Bauer Natalia" "clerk" "" "bn" yes "" yes yes
So it imports like in php with LOAD DATA as
"40518"
"105"
"Bauer
Natalia"
"clerk"
""
"bn"
yes
""
yes
yes
I want the dumped name.d look like:
"40518","105","Bauer Natalia","clerk","","bn",yes,"",yes,yes <= Komma separated!
or
"40518" "105" "Bauer Natalia" "clerk" "" "bn" "yes" "" "yes" "yes" <= ALL WITHIN ""
thx,
fraso