ora-06553 pls-306 wrong number or types of arguments in call to 'ogc_x'

后端 未结 3 1720
無奈伤痛
無奈伤痛 2021-01-18 12:54

I´m trying a query in oracle 10g. It goes like this:

SELECT
  *
FROM
  h2h_reg reg,
  h2h_cat_estatus est
WHERE
  r         


        
3条回答
  •  野的像风
    2021-01-18 13:36

    Try with DISTINCT :

    SELECT DISTINCT reg.id_arch, reg.id_prod
      FROM h2h_reg reg, h2h_cat_estatus est
     WHERE reg.FECH_APLICACION = SYSDATE
       AND reg.id_est = est.id_estatus
       AND est.tipo_estatus = 'X'
    

提交回复
热议问题