SQL join problem

SQL join problem

Postby chrisssteeven » Sat Feb 13, 2010 6:03 am

Hi,
I am using the following query with a zip bind variable.
from Store _a join Pricing _b on _a.storeid=_b.storeid where _a.zip=:zip
I get the following error:Run Query error: Unexpected Token: on near line 1 column 59 [from com.wavemaker.gasprice.data.Store _a join Pricing _b on _a.storeid=_b.storeid where _a.zip=:zip].According to HSQL syntax, this join should work perfectly.What am I doing wrong?
We must change in order to survive
chrisssteeven
 
Posts: 2
Joined: Fri Feb 12, 2010 3:27 am

Re: SQL join problem

Postby Steve Lewin » Sat Feb 13, 2010 9:29 am

Posting your query in the wrong forum ?

This FMS is a "Flying Model Simulator" as it says at the top of every page. I have a feeling you might be looking for a different FMS ;).

Steve
Steve Lewin
 
Posts: 816
Joined: Mon Jun 18, 2001 2:32 pm
Location: N. Staffs, UK


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 6 guests

cron