Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unused Synonyms
On 10/19/06, Richard J. Goulet <rgoulet_at_kanbay.com> wrote:
>
> stmt := 'select count(*) from '||a.synonym_name;
>
You might consider amending the above SQL to 'select count(*) from '||a.synonym_name||' where rownum < 2';
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist -- http://www.freelists.org/webpage/oracle-lReceived on Mon Oct 23 2006 - 11:34:38 CDT
![]() |
![]() |