hi,
Results are still same i mean same errors . we can't put alias while defining resultMap this is i have observed for past few days. so any other solution u think.
Regards,
Puneet Arya
you must put it with an alias:
select sum(salary) salary from employeeInfo where name = name;
![]()
Esperanza Echeverría de Miguel
Steria España http://www.steria.es
C/Menéndez y Pelayo,3 bis 46010 Valencia
Tel: + 34 96 393 87 50 Fax: +34 96 393 87 51
[EMAIL PROTECTED]
puneet arya <[EMAIL PROTECTED]> 28/06/2006 08:30
Please respond to user-java
To: [email protected]
cc:
Subject: Re: how to use function in resultMap
hi,
ya i have defined my stored procedure as
CREATE OR REPLACE PROCEDURE SP_EMPLOYEE(name IN VARCHAR2, employee_cursor OUT vattypes.vat_cursor) AS
BEGIN
open employee_cursor for
select sum(salary) from employeeInfo where name = name;
END;
If I remove the sum function and write my select statement as
select salary from employeeInfo where name = name; it is working
Regards,
Puneet Arya
[EMAIL PROTECTED] wrote:
can you tell me how you defined the oracle cursor in the pl-sql fuction..??
![]()
Esperanza Echeverría de Miguel
Steria España http://www.steria.es
C/Menéndez y Pelayo,3 bis 46010 Valencia
Tel: + 34 96 393 87 50 Fax: +34 96 393 87 51
[EMAIL PROTECTED]
Yahoo! India Answers: Share what you know. Learn something new Click here
Catch all the FIFA World Cup 2006 action on Yahoo! India Click here
Yahoo! India Answers: Share what you know. Learn something new Click here
Catch all the FIFA World Cup 2006 action on Yahoo! India Click here
- how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap puneet arya
- Re: how to use function in resultMap Esperanza . Echeverria
- Re: how to use function in resultMap Viktor_X . _Kopit
Reply via email to
