help me correct query ??

  • Below query is giving me this error:The multi-part identifier "dim_pt_psp.pt_psp_pk" could not be bound bound. Severity 16

    UPDATE aa

    SET ps_vir = 1

    WHERE cpd_id IN ( '1-1WJ-456', '1-14M-618' )

    AND dim_pt_psp.pt_psp_pk = 1

  • "aa" is the only table identifier on this query, so I guess this should do:

    UPDATE aa

    SET ps_vir = 1

    WHERE cpd_id IN ( '1-1WJ-456', '1-14M-618' )

    AND aa.pt_psp_pk = 1

    -- Gianluca Sartori

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply