<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Ada,<br>
<br>
Indeed `public` is a reserved keyword and it should not be allowed
to write it as such. You need to use double quotes.<br>
I see in yours queries that you used funny double quote
characters.....have you tried the normal ASCII ones?<br>
The query would look like this:<br>
<br>
<blockquote>
<pre class="moz-quote-pre" wrap="">SELECT TOP 10 * FROM "public".hipparcos_newreduction</pre>
</blockquote>
Cheers,<br>
Grégory<br>
<br>
<br>
<div class="moz-cite-prefix">On 14/11/2019 09:17, ada nebot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:62C17F98-67C1-4A36-B660-6EE80D9D50DA@astro.unistra.fr">
<pre class="moz-quote-pre" wrap="">Hi,
While performing a tutorial in a VO School we have seen that access through TAP using ADQL
on tables/catalogues containing the reserved word public on them was not possible.
We tried as stated in the documentation using double quotes around the word and lots of different combinations.
But that did not solve the issue. Has anyone a clue on how to do this?
Thanks,
Ada
Here are the queries we tried:
SELECT TOP 10 * FROM public.hipparcos_newreduction
SELECT TOP 10 * FROM “public”.hipparcos_newreduction
SELECT TOP 10 * FROM “public.hipparcos_newreduction”
SELECT TOP 10 * FROM 'public’.hipparcos_newreduction
…
SELECT TOP 10 * FROM ''public''.hipparcos_newreduction
and even something like
SELECT TOP 10 * FROM \’public\’.hipparcos_newreduction
…
</pre>
</blockquote>
<br>
</body>
</html>