When I was trying to find out what the primary key for the table in
question I was given the following query:

select column_name from information_schema.indexes
where table_schema = 'PUBLIC'
and table_name='TEST'
and primary_key

I executed it on my table and since then I have been able to perform
any dml on it. Is there a way to undo this?

On Feb 15, 4:08 pm, Thomas Mueller <[email protected]>
wrote:
> Hi,
>
> Tables with referential integrity constraints can not be truncated.
> Also, system tables and view can not be truncated.
>
> See 
> also:http://www.h2database.com/javadoc/org/h2/constant/ErrorCode.html#c90106
> or use the Error Analyzer:http://www.h2database.com/html/sourceError.html
>
> Regards,
> Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to