Skip to content

Error : each parameter can only be referenced once #1150

@ucandoit1010

Description

@ucandoit1010

Hi I have subquery in my sql script like this :

SELECT * FROM XTABLE X , (SELECT * FROM ATABLE WHERE ORG =: OID ) A WHERE X.ORG =: OID AND A.ORG =: OID

I am using Query execute SQL
new { OID = OID }
, but got error

When passing parameters by position, each parameter can only be referenced once

cany anyone guide me what's going on ? thank you .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions