[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Using the User_Views Data Dictionary View

Posted on 2004-09-06
1
Medium Priority
?
837 Views
Last Modified: 2011-10-03
Hi Folks,

   Whenever views are created the select statement through which a particular view is created is saved in the user_views 'TEXT' field and one can always refer it for checking out the code. I have created a particluar view and whenever I query the user_views and try to look at the SELECT statement in the TEXT column, its not displayed fully and is always truncated. I have even changed the line size and page size parameters of SQL*Plus, but it does not work. Am I missing some basic point here?

TIA

Hassan
0
Comment
Question by:hayub
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
BobMc earned 400 total points
ID: 11991661
The text column is a long field (at least in 0racle8 which is what I have in front of me) and sqlplus has its own parameter - LONG to tell it how much to display

try this
set linesize 132;
column text format a100 word_wrapped;
set long 4000;
select view_name, text from user_view;

HTH
Bob
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question