Go Back   Forum Care Forums > Development Reference Area > MySQL Discussion

Reply
 
LinkBack Thread Tools Display Modes
ODBC call fail - Union Query
Old
  (#1)
Guest
Guest
 
Posts: n/a
Default ODBC call fail - Union Query - 06-04-2007, 07:58 AM

I have access as the front end an mysql as the back end, i am trying
to do a Union query but get the following errors

can any one help

ODBC - Call Failed
[MySQL][ODBC3.51 Driver][mysql-4.1.22-standard] You have an error in
your SQL syntax: check the manual that corresponds to your MySQL
server version for the right syntax to use near Union( SELECT
'tblcodesWS' , 'tblProductsWS' , 'ProductName' , ' tblPr' at line 1
(#1064)

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: ODBC call fail - Union Query
Old
  (#2)
Captain Paralytic
Guest
 
Posts: n/a
Default Re: ODBC call fail - Union Query - 06-04-2007, 07:58 AM

On 19 May, 10:41, S.****...@shos.co.uk wrote:
> I have access as the front end an mysql as the back end, i am trying
> to do a Union query but get the following errors
>
> can any one help
>
> ODBC - Call Failed
> [MySQL][ODBC3.51 Driver][mysql-4.1.22-standard] You have an error in
> your SQL syntax: check the manual that corresponds to your MySQL
> server version for the right syntax to use near Union( SELECT
> 'tblcodesWS' , 'tblProductsWS' , 'ProductName' , ' tblPr' at line 1
> (#1064)


If we knew what the query was we might be able to!
A space between UNION and ( might help.

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top