W3C home > Mailing lists > Public > public-rdb2rdf-wg@w3.org > March 2012

Re: TC - Trivial question regarding SQL queries

From: Juan Sequeda <juanfederico@gmail.com>
Date: Mon, 5 Mar 2012 17:40:59 -0600
Message-ID: <CAMVTWDwejM=2qL5sYCQ+nJ7VM71agPnOURQyh8UUpTrYtCnxFg@mail.gmail.com>
To: Boris Villazon-Terrazas <bvillazon@fi.upm.es>
Cc: Public-Rdb2rdf-Wg RDB2RDF <public-rdb2rdf-wg@w3.org>
I sent another email about this. Disregard that one and please reply to
this one. Thanks!

Juan Sequeda
+1-575-SEQ-UEDA
www.juansequeda.com


On Mon, Mar 5, 2012 at 5:38 PM, Boris Villazon-Terrazas <bvillazon@fi.upm.es
> wrote:

> Hi all
>
> Within an R2RML mapping we have a rr:logicalTable, and within
> a rr:logicalTable we may have a rr:sqlQuery that contains a valid SQL query.
> As Juan already pointed me out, there some TCs that have SQL queries that
> end up with ";", for example
>
>
> <TriplesMap1>
>     a rr:TriplesMap;
>
> 	rr:logicalTable [  rr:sqlQuery """
>                        SELECT "Code", "Name", "Lan"
>                        FROM "Country"
> 					   WHERE "Lan" = 'EN';
>                        """ ] ;
>
> The question is, if it is valid to include the ";" at the end of the SQL
> queries, or not?, or it is optional?
>
> Thanks in advance
>
> Boris
>
Received on Monday, 5 March 2012 23:41:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 March 2012 23:41:47 GMT