Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  vcol.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[126] ADA[72] VDM[72]} [Methode: maximale Elemente, drei Dimensionen]

let datadir= `select @@datadir`;
--copy_file $MTR_SUITE_DIR/std_data/boys.txt $datadir/test/boys.txt

create table t1 (
  #linenum int(6) not null default 0 special=rowid,
  name char(12) not null,
  city char(11) not null,
  birth date not null date_format='DD/MM/YYYY',
  hired date not null date_format='DD/MM/YYYY' flag=36,
  agehired int(3) as (floor(datediff(hired,birth)/365.25))
  )
ENGINE=CONNECT CHARSET=latin1 table_type=FIX file_name='boys.txt' mapped=YES lrecl=47 ending=1;
select * from t1;
drop table t1;

--error ER_NULL_COLUMN_IN_INDEX
create table t1 (
  #linenum int(6) not null default 0 special=rowid,
  name char(12) not null,
  city char(11) not null,
  birth date not null date_format='DD/MM/YYYY',
  hired date not null date_format='DD/MM/YYYY' flag=36,
  agehired int(3) as (floor(datediff(hired,birth)/365.25)),
  index (agehired)
  )
ENGINE=CONNECT CHARSET=latin1 table_type=FIX file_name='boys.txt' mapped=YES lrecl=47 ending=1;

#
# Clean up
#
--remove_file $datadir/test/boys.txt

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-10-25]

                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,272
#Domains=934,743