Eine aufbereitete Darstellung der Quelle

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

Benutzer

SSL mdev_40651.result  Sprache: unbekannt

 
CREATE TABLE t (c1 INT KEY) ENGINE=DuckDB;
INSERT INTO t VALUES (1),(1);
ALTER TABLE t ADD c2 INT NOT NULL;
SELECT * FROM t ORDER BY c1, c2;
c1 c2
1 0
1 0
INSERT INTO t (c1) VALUES (2);
ERROR HY000: Field 'c2' doesn't have a default value
ALTER TABLE t PARTITION BY HASH (c1) (PARTITION p1, PARTITION p2);
ERROR HY000: Engine cannot be used in partitioned tables
SELECT * FROM t ORDER BY c1, c2;
c1 c2
1 0
1 0
DROP TABLE t;
CREATE TABLE t (id INT PRIMARY KEY, c1 INT) ENGINE=DuckDB;
INSERT INTO t VALUES (1, NULL);
ALTER TABLE t ADD c2 INT, MODIFY c1 INT NOT NULL;
ERROR HY000: Got error 168 'Constraint Error: NOT NULL constraint failed: t.c1' from DuckDB
ALTER TABLE t ADD c2 INT;
SELECT * FROM t ORDER BY id;
id c1 c2
1 NULL NULL
DROP TABLE t;

Messung V0.5 in Prozent
C=44 H=100 G=77

[Verzeichnis aufwärts0.19unsichere VerbindungÜbersetzung europäischer Sprachen durch Browser2026-10-08]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=1897691