Ask a Question related to MySQL, Design and Development.
-
Raphael Emportu #1
Query problem, please help.
mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i386)
gives me:
The following database Error occured:
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 ') and
A.OB_AREAID=C.TR_REFID and C.TR_LANG='de' and
Statement:
select A.*, B.*, C.TR_TEXT from LS_OBJECTS A, LS_OBJECT_TR B,
LS_TRANSLATION C where A.OB_ID=B.OTR_OBJECTID and B.OTR_LANG='de' and
A.OB_ID IN() and A.OB_AREAID=C.TR_REFID and C.TR_LANG='de' and
C.TR_REFNAME='AREA_ID'
Manual check doesn't help much as I do not fully comprehend the query. Is
there someone who can help?
Raphael Emportu Guest
-
***Sql Query problem
Randy Webb wrote: SELECT DISTINCT OrderID FROM trans WHERE Trans_ID = 1 AND OrderID NOT IN (SELECT DISTINCT OrderID FROM trans WHERE Trans_ID =... -
Query of Query problem
Error Executing Database Query. Query Of Queries runtime error. Table named "DATA" was not found in Memory. It is misspelled, or the table is... -
Query on Query and CF casting problem
I am using a custom tag in MX7 that was working fine in 5 that renders a table. The input to the custom tag is a query and it's columns along with... -
query problem
SELECT top5.PRODID, p.PRODNAME FROM ( SELECT TOP 5 SALES = COUNT(*), PRODID FROM SALES GROUP BY PRODID ORDER BY SALES DESC ) AS top5 INNER JOIN... -
Query problem.
column 1 column2 column 3 column 4 1 current 1.0 yr1 1 previous ... -
Jerry Stuckle #2
Re: Query problem, please help.
Raphael Emportu wrote:
> mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i386)
>
> gives me:
>
> The following database Error occured:
> 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 ') and
> A.OB_AREAID=C.TR_REFID and C.TR_LANG='de' and
>
> Statement:
> select A.*, B.*, C.TR_TEXT from LS_OBJECTS A, LS_OBJECT_TR B,
> LS_TRANSLATION C where A.OB_ID=B.OTR_OBJECTID and B.OTR_LANG='de' and
> A.OB_ID IN() and A.OB_AREAID=C.TR_REFID and C.TR_LANG='de' and
> C.TR_REFNAME='AREA_ID'
>
> Manual check doesn't help much as I do not fully comprehend the query. Is
> there someone who can help?
You didn't provide a list of items for your IN clause. It needs to be something
like
IN (1, 2, 3, 4)
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
[email]jstucklex@attglobal.net[/email]
==================
Jerry Stuckle Guest
-
Raphael Emportu #3
Re: Query problem, please help.
Jerry Stuckle <jstucklex@attglobal.net> wrote in
news:rsqdnc1l2rcPedLZnZ2dnUVZ_vGdnZ2d@comcast.com:
<snip for brevity>> Raphael Emportu wrote:
Thanks great, I can work with that answer.>
>
> You didn't provide a list of items for your IN clause. It needs to be
> something like
>
> IN (1, 2, 3, 4)
>
Cu.
Raphael Emportu Guest



Reply With Quote

