开发者

basic oracle question

I have this query:

select total.lecgrouplecture(l.groupcode)  lecturename,
       total.lecgrouptime(l.groupcode) lecttime 
  from total.lecgroup l  
 where term = (s开发者_如何学编程elect term 
                from total.CURENTTERM) 
   and rownum < 10 
order by lecturename

I want to know what total.lecgrouptime(l.groupcode) is, and get this information from where?


total is the package name

lecgrouplecture is a function within that package

Look in user_source for the code or use a GUI like SQL Developer or TOAD


it looks like TOTAL is the name of a schema (SELECT * FROM all_users WHERE username = 'TOTAL'). If this is the case then lecgrouplecture must be a pl/sql function. You will find what it does with Robert's query:

SELECT * 
  FROM all_source 
 WHERE owner = 'TOTAL' 
   AND name = 'LECGROUPLECTURE' 
 ORDER BY line;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜