Import & Export dat

From Wikivyuka
Revision as of 06:53, 22 April 2014 by Dur30 (talk | contribs) (Import dat)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Import dat

Před importem dat si nadefinujeme schema tabulky:

CREATE TABLE "HR"."OBCE" 
("KOD_OBEC_P" VARCHAR2(6 BYTE), 
"NAZ_OBEC_P" VARCHAR2(40 BYTE), 
"NAZ_STATM" VARCHAR2(40 BYTE), 
"KOD_ORP" VARCHAR2(4 BYTE), 
"NAZ_ORP" VARCHAR2(40 BYTE), 
"KOD_POU" VARCHAR2(5 BYTE), 
"NAZ_POU" VARCHAR2(40 BYTE), 
"LAU1_P" VARCHAR2(6 BYTE), 
"NAZ_LAU1_P" VARCHAR2(40 BYTE), 
"CZNUTS3" VARCHAR2(6 BYTE), 
"NAZ_CNUTS3" VARCHAR2(40 BYTE), 
"AREA" NUMBER, 
"PERIMETER" NUMBER, 
"GEOMETRY" "MDSYS"."SDO_GEOMETRY");