- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extract source from dba_views but lines are broken...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 12:35 AM
тАО11-15-2002 12:35 AM
extract source from dba_views but lines are broken for long statement
I know the column dba_views.text is a LONG type column. It shouldn't truncate the line even the statement is longer than 80 characters.
Highly Appreciated if anyone can help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 02:10 AM
тАО11-15-2002 02:10 AM
Re: extract source from dba_views but lines are broken for long statement
Try this
set long 1000 LONGCHUNKSIZE 1000
If you specify a width for a
LONG field
col
SQL*Plus uses the LONGCHUNKSIZE
or the specified width, whichever is smaller, as the column width.
Hope this will help
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 03:35 AM
тАО11-15-2002 03:35 AM
Re: extract source from dba_views but lines are broken for long statement
However, I also have the same problem when extract source from dba_source for stored procedure. It seems to me that your solution does not work on this case. I think the reason is the column DBA_SOURCE.TEXT is varchar2(4000) not LONG.
Do you have any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 04:13 AM
тАО11-15-2002 04:13 AM
Re: extract source from dba_views but lines are broken for long statement
You can specify the length for each field with command column (short form: col)
col text format a4000
means that every field with heading "text" is displayed with length 4000
WIth this command "column" you can also format number and date fields. Look at oracle dcumentations about SQL*PLUS
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 06:46 AM
тАО11-15-2002 06:46 AM
Re: extract source from dba_views but lines are broken for long statement
We use coding standards that limit the lines to 80 characters for readability purposes. It would also help in cases like this.