My guess is you need to use backticks (`) instead of double quotes (").

Gili

On 28/01/2012 2:40 AM, rajit wrote:
Hi there,

Quoting table names doesn't seem to work in H2, though the documentation indicates the availability of this feature here: http://www.h2database.com/html/grammar.html#quoted_name and here:
http://www.h2database.com/html/grammar.html#name

I'm using the latest version of H2 (1.3.163), and when I try to do:

SELECT * FROM "myTable";

I get 'table not found', though it works when I do:

SELECT * FROM myTable;

Can anyone offer any help?
Cheers!
--
You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/DQXVXtiuz-QJ.
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.

--
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