Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: how to retrieve view definition
In article <91vpbg$94b$1_at_nnrp1.deja.com>,
shdu_at_my-deja.com wrote:
> How do I retrieve view definition from SQLPLUS? I tried to "select
text
> from all_views where view_name='MY_VIEW'" but the returned text was
too
> long to display on a single line and was truncated. I tried to 'set
wrap
> on' but it did not help.
>
> Thanks.
>
> SF
>
> Sent via Deja.com
> http://www.deja.com/
>
View definitions are stored as longs.
Use
set long <anynumber>
and they will be displayed correctly.
Regards,
-- Sybrand Bakker, Oracle DBA All standard disclaimers apply ------------------------------------------------------------------------ Sent via Deja.com http://www.deja.com/Received on Fri Dec 22 2000 - 09:00:18 CST
![]() |
![]() |