Skip to content

juanhaugaard/DbServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DbServer

Exploring eventing in H2 database server mode

Getting Started

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

ALTER TABLE AUDIT.EVENTS ADD "TDAY" integer NULL;

UPDATE AUDIT.EVENTS SET TDAY=DATEDIFF(DAY, CAST('1970-01-01' as DATE), TDATE);

ALTER TABLE AUDIT.EVENTS ALTER COLUMN "TDAY" integer NOT NULL;

ALTER TABLE AUDIT.EVENTS DROP PRIMARY KEY;

ALTER TABLE EVENTS DROP COLUMN "TDATE";

ALTER TABLE AUDIT.EVENTS ADD CONSTRAINT PRIMARY_KEY PRIMARY KEY ("TDAY", "TSEQ");

ALTER TABLE AUDIT.EVENTS ADD COLUMN "TCATALOG" VARCHAR NULL;

UPDATE AUDIT.EVENTS SET TCATALOG = 'BIGQUERY';

ALTER TABLE AUDIT.EVENTS ALTER COLUMN "TCATALOG" VARCHAR NOT NULL;

UPDATE AUDIT.EVENTS SET PAYLOAD='{ "newRow" : ' || PAYLOAD || ' }'

About

Exploring eventing in H2 database server mode

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages