Pēcis Beisikāns' Journal
View:Personal Journal.
View:Friends.
View:Calendar.
Missed some entries? Then simply jump to the previous day or the next day.

Sunday, November 18th, 2007

Subject:SQL*Loader REF columns
Time:10:28 pm.
create type tsuns (
vards varchar2(20)
);
create type tsaimnieks (
vards varchar2(20),
suns ref tsuns
);
create table sunji of tsuns;
create table saimnieki of tsaimnieks;
insert into sunji tsuns('Reksis');
SQL*Loader control faila saturs:
load data
infile *
into table saimnieki
fields terminated by whitespace (
vards char,
suns ref(constant 'sunji', suns_),
suns_ filler char
)
begindata
Jānis Reksis
SQL*Loader Error: Invalid table specified as scope of a REF. Kāpēc?
Comments: Add Your Own.

Pēcis Beisikāns' Journal

View:User Info.
View:Friends.
View:Calendar.
View:Memories.
Missed some entries? Then simply jump to the previous day or the next day.