| 535 | |
| 536 | '''Table "ATT496756.xls"''' |
| 537 | {{{ |
| 538 | #!sql |
| 539 | DROP TABLE IF EXISTS rht.pate_debitclasse; |
| 540 | create table rht.pate_debitclasse |
| 541 | ( |
| 542 | nom character varying(80), |
| 543 | annee_min character varying(80), |
| 544 | annee_max character varying(80), |
| 545 | periode_migration character varying(80), |
| 546 | XlambertIIe numeric, |
| 547 | YlambertIIe numeric, |
| 548 | surfbv_P numeric, |
| 549 | module_p numeric, |
| 550 | q75_p numeric, |
| 551 | q90_p numeric, |
| 552 | q95_p numeric, |
| 553 | q975_p numeric, |
| 554 | q99_p numeric, |
| 555 | codestation character varying(80), |
| 556 | nomstation character varying(80), |
| 557 | anneemin_bh numeric, |
| 558 | anneemax_bh numeric, |
| 559 | module_bh numeric, |
| 560 | q90_bh1 numeric, |
| 561 | q95_bh1 numeric, |
| 562 | q98_bh1 numeric, |
| 563 | q99_bh1 numeric, |
| 564 | q90_bh numeric, |
| 565 | q95_bh numeric, |
| 566 | q98_bh numeric, |
| 567 | q99_bh numeric, |
| 568 | id_drain integer |
| 569 | ); |
| 570 | |
| 571 | set client_encoding to 'latin1'; |
| 572 | copy rht.pate_mortalite from 'D:/CelineJouanin/PATE/pate_debit_classe.csv' with csv header delimiter as ';' NULL AS 'NA'; -- lines |
| 573 | }}} |
| 574 | |