LISTSERV mailing list manager LISTSERV 16.0

Help for ZNG Archives


ZNG Archives

ZNG Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ZNG Home

ZNG Home

ZNG  February 2006

ZNG February 2006

Subject:

Re: SQL as XML

From:

Rafe Rosen <[log in to unmask]>

Reply-To:

SRU (Search and Retrieve Via URL) Implementors

Date:

Wed, 15 Feb 2006 09:51:31 -0500

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (48 lines)

Sorry, my bad, I should have been more clear,

My project is implementing a CQL interface to our database of 160,000 
recordings of animal sound and video.  My task is to build a system that 
translates a CQL query entered by a human into an appropriate (and 
potentially complex) SQL select statement to be sent to the database. 
Since there is (was?) an XML-CQL representation, and XML is pretty 
pervasive, I figured if there was a similar schema defined for SQL I could 
to the transformation with XSLT.

I have since been advised that the above strategy is a Bad Idea.  I'm 
probably going to use the parse tree structures created by CQL-java (for 
CQL) and either ZQL or hibernate (for SQL).

If anyone on the list has experience translating CQL to SQL, I would love 
to hear about it.  And what is the exact status of XCQL?  I'm pretty new 
on this list and hadn't heard it had been dropped.

Thanks much!

Rafe Rosen
Software Developer / System Administrator
Macaulay Library
Cornell Lab of Ornithology
Ithaca, NY 14850
607 254 2132

On Wed, 15 Feb 2006, Mike Taylor wrote:

>> Date: Mon, 13 Feb 2006 16:32:28 -0500
>> From: Rafe Rosen <[log in to unmask]>
>>
>> Hey all- for a new search tool I'm writing, I'm thinking it might be
>> prudent to use XML transformations to convert between some various
>> query formats.  Is anyone out there aware of an XML schema that
>> could represent a SQL select statement?
>
> Sorry, I think you're on the wrong mailing list :-)  In SRU, we don't
> use SQL at all, and we recently dropped XCQL which was the only
> XML-based query language we had.
>
> _/|_	 ___________________________________________________________________
> /o ) \/  Mike Taylor  <[log in to unmask]>  http://www.miketaylor.org.uk
> )_v__/\  "Covenant strode pustulatingly across the gibbous room, the
> 	 preternatural sun playing lambently across his gloaming features"
> 	 -- Steven Donaldson, "Lord Lambent's Bane"
>

Top of Message | Previous Page | Permalink

Advanced Options


Options

Error during command authentication.

Error - unable to initiate communication with LISTSERV (errno=111). The server is probably not started.

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager