User defined function
From: Nandita Reshamwala (Nandita.Reshamwala_at_geac.com)
Date: 05/20/04
- Previous message: Raul Villaronga: "Returning TEXT data in a Stored Procedure"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 May 2004 16:00:33 -0700
I have created user defined function
DateIsEnded . Owner of the function is 'pthdbo'
(connected User of login )
In query analyser I am trying to use this function but
it gives me error - invalid object name DateIsEnded - if I
specify it without owner pthdbo.
select rfofficer_code, DateisEnded(rfoff_end_date) as ended
from rfoff
order by ended;
Owner of rfoff table is also pthdbo.But it doesn't
complain about rfoff. If I specify owner name with
function it works.
select rfofficer_code, pthdbo.DateisEnded(rfoff_end_date)
as ended
from rfoff
order by ended;
My question is
why it is required to specify owner name before user
defined function though connected user is the owner of
the user defined function?
- Previous message: Raul Villaronga: "Returning TEXT data in a Stored Procedure"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|