on-internet
← Community

SQL insert into with Hsqldb Script

Stack Overflow ·

I am trying to initialise my hsqldb with some default data but seem to be having a problem with identity and timestamp columns. To clarify what I meant when I said "script". I am meaning the command line argument that you pass to hsqldb to generate your database at startup. I can successfully run the query inside DbVisualiser or some other database management tool. I have a table with the following definition: create table TableBob ( ID int NOT NULL identity , FieldA varchar(10) NULL, FieldB varchar(50) NOT NULL, INITIAL_DT timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL); I can successfully crea

Comments

Sign in or sign up to comment and upvote.

No comments yet.