I think that's not possible:
http://groups.google.com/groups?q=Oracle+synonyms+functions&hl=pt&lr=&ie=UTF-8&selm=01bd04e4%241c919740%240cdb74a6%40pc88511209.tex.emn.com&rnum=8
Best Regards,
Alexandre Murranga
-----Original Message-----
From: akki
[mailto:oracledba-ezmlmshield-x37359286.[Email address protected]
Sent: quinta-feira, 17 de Junho de 2004 9:36
To: LazyDBA Discussion
Subject: synonym for package.function_name()
hi all dba...
here is a query from my side
is there any way through which we can use single word instead of
using package_name.function_name in pl/sql or somewhere else...
can we create synonyms for functions for that purpose..........
SQL> select ex1.dow(sysdate) from dual;
EX1.DOW(SYSDATE)
----------------------------------------------------------------------------
----
Thu
SQL> create synonym dow for ex1.dow;
Synonym created.
SQL> select dow(sysdate) from dual;
select dow(sysdate) from dual
*
ERROR at line 1:
ORA-00904: "DOW": invalid identifier
thanks
akki
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: send a blank email to oracledba-[Email address protected]
By using this list you agree to these terms:http://www.lazydba.com/legal.html
------------------------------------------
This message may contain confidential information or privileged material,
and is intended only for the individual(s) named. If you are not in the
named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message
which arise as a result of e-mail transmission. If verification is
required please request a hard-copy version.
Vodafone (Portugal)
Oracle LazyDBA home page