Hi,

The problem is:

CONVERT(VARCHAR,T1.ID)

For H2, the syntax is the other way around: CONVERT(value, dataType) -
see also http://h2database.com/html/functions.html#convert - actually
the preferred solution is CAST(... AS dataType).

What database did you use before? It looks like Sybase or MS SQL
Server, but not sure.

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