Skip to Content
author's profile photo Former Member
Former Member

Ayuda con Query

Colegas,

Cuando quiero especificarle una condición al query me marca un error de Must specify to select from.

Esto es muy raro porque si no le pongo el T0.[Project]= '[%0]' el query se ejecuta bien.

Por qué podrá ser? Qué es lo que estoy haciendo mal?

La condición es la siguiente:

WHERE T0.[Project]= '[%0]'and T1.[TargetType] = '-1' and T0.[PaidSum] = T0.[DocTotal]

Espero que me puedan.

Saludos!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Apr 18, 2011 at 05:43 PM

    Hola

    Bueno, supongo que las tablas deben ser OPCH T0, PCH1 T1 o OINV T0, INV1 T1

    Trata colocando las tablas con un dbo. antes del nombre

    Ej:

    FROM dbo.OINV T0

    INNER JOIN dbo.INV1 T1 ON T1.DocEntry = T0.DocEntry

    Slds

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.