SQL does not create a default value
Hi,
Neither of these SQL commands (entered with tools/SQL, then checked by view/refesh , right click tablename / edit)
sets a default value.
What is wrong?
<<>>
CREATE CACHED TABLE TESTC4
( ID1 INT GENERATED BY DEFAULT AS IDENTITY,
TC1 INT DEFAULT 3,
TC2 VARCHAR(10) DEFAULT 'THREE',
TC3 INT
);
<<>>
ALTER TABLE TESTC6
ADD TC7 VARCHAR(10)
DEFAULT ‘STUFF’;